diff options
author | Anatolij Gustschin <agust@denx.de> | 2013-02-01 10:23:39 -0500 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-02-05 02:40:43 -0500 |
commit | 63410b0b80b6aa841d9abe212ad7f16899841b32 (patch) | |
tree | 388adafec00e1298298e3176fdef62888e76100f | |
parent | ca88da3c57c8ef7f43f895a637cf06e7a225dbca (diff) |
powerpc/mpc5xxx: fix sparse warning for non static symbol
Fix warning:
symbol 'mpc5xxx_get_bus_frequency' was not declared. Should it be static?
Signed-off-by: Anatolij Gustschin <agust@denx.de>
-rw-r--r-- | arch/powerpc/sysdev/mpc5xxx_clocks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/mpc5xxx_clocks.c b/arch/powerpc/sysdev/mpc5xxx_clocks.c index 96f815a55dfd..5492dc5f56f4 100644 --- a/arch/powerpc/sysdev/mpc5xxx_clocks.c +++ b/arch/powerpc/sysdev/mpc5xxx_clocks.c | |||
@@ -9,9 +9,9 @@ | |||
9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
10 | #include <linux/of_platform.h> | 10 | #include <linux/of_platform.h> |
11 | #include <linux/export.h> | 11 | #include <linux/export.h> |
12 | #include <asm/mpc5xxx.h> | ||
12 | 13 | ||
13 | unsigned int | 14 | unsigned long mpc5xxx_get_bus_frequency(struct device_node *node) |
14 | mpc5xxx_get_bus_frequency(struct device_node *node) | ||
15 | { | 15 | { |
16 | struct device_node *np; | 16 | struct device_node *np; |
17 | const unsigned int *p_bus_freq = NULL; | 17 | const unsigned int *p_bus_freq = NULL; |