projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca88da3
)
powerpc/mpc5xxx: fix sparse warning for non static symbol
author
Anatolij Gustschin
<agust@denx.de>
Fri, 1 Feb 2013 15:23:39 +0000
(16:23 +0100)
committer
Anatolij 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/mpc5xxx_clocks.c
b/arch/powerpc/sysdev/mpc5xxx_clocks.c
index 96f815a55dfd289ec09797a2b329a197573cacea..5492dc5f56f4672adcff6d10e605aa91cc82bfca 100644
(file)
--- a/
arch/powerpc/sysdev/mpc5xxx_clocks.c
+++ b/
arch/powerpc/sysdev/mpc5xxx_clocks.c
@@
-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;