diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-10 23:38:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-10 23:38:51 -0700 |
commit | bdba4d6b77fcc76f206986d7cc55f1feb20301f8 (patch) | |
tree | 6a61cab39347cda4beba9b18b4fb280694193908 /arch/sparc | |
parent | ebfb2c63405f2410897674f14e41c031c9302909 (diff) | |
download | linux-stable-bdba4d6b77fcc76f206986d7cc55f1feb20301f8.tar.gz linux-stable-bdba4d6b77fcc76f206986d7cc55f1feb20301f8.tar.bz2 linux-stable-bdba4d6b77fcc76f206986d7cc55f1feb20301f8.zip |
sparc32: Fix function signature of of_bus_sbus_get_flags().
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>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/of_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/of_device.c b/arch/sparc/kernel/of_device.c index c481d45f97b7..f58c537446a8 100644 --- 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; } |