projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebfb2c6
)
sparc32: Fix function signature of of_bus_sbus_get_flags().
author
David S. Miller
<davem@davemloft.net>
Thu, 11 Sep 2008 06:38:51 +0000
(23:38 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Sep 2008 06:38:51 +0000
(23:38 -0700)
This doesn't match the function pointer type it gets assigned
to. Luckily, this was harmless.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/of_device.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/of_device.c
b/arch/sparc/kernel/of_device.c
index c481d45f97b748a3748c8fcc813be7d7965555e6..f58c537446a87547bafbbf396a42a65b2875c924 100644
(file)
--- a/
arch/sparc/kernel/of_device.c
+++ b/
arch/sparc/kernel/of_device.c
@@
-241,7
+241,7
@@
static int of_bus_sbus_map(u32 *addr, const u32 *range, int na, int ns, int pna)
return of_bus_default_map(addr, range, na, ns, pna);
}
-static unsigned
int of_bus_sbus_get_flags(const u32 *addr
)
+static unsigned
long of_bus_sbus_get_flags(const u32 *addr, unsigned long flags
)
{
return IORESOURCE_MEM;
}