]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/mpc5xxx: fix sparse warning for non static symbol
authorAnatolij Gustschin <agust@denx.de>
Fri, 1 Feb 2013 15:23:39 +0000 (16:23 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 5 Feb 2013 07:40:43 +0000 (07:40 +0000)
Fix warning:
symbol 'mpc5xxx_get_bus_frequency' was not declared. Should it be static?

Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/sysdev/mpc5xxx_clocks.c

index 96f815a55dfd289ec09797a2b329a197573cacea..5492dc5f56f4672adcff6d10e605aa91cc82bfca 100644 (file)
@@ -9,9 +9,9 @@
 #include <linux/kernel.h>
 #include <linux/of_platform.h>
 #include <linux/export.h>
+#include <asm/mpc5xxx.h>
 
-unsigned int
-mpc5xxx_get_bus_frequency(struct device_node *node)
+unsigned long mpc5xxx_get_bus_frequency(struct device_node *node)
 {
        struct device_node *np;
        const unsigned int *p_bus_freq = NULL;