Skip to content

Commit

Permalink
powerpc/mpc5xxx: fix sparse warning for non static symbol
Browse files Browse the repository at this point in the history
Fix warning:
symbol 'mpc5xxx_get_bus_frequency' was not declared. Should it be static?

Signed-off-by: Anatolij Gustschin <[email protected]>
  • Loading branch information
vdsao committed Feb 5, 2013
1 parent ca88da3 commit 63410b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/sysdev/mpc5xxx_clocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 63410b0

Please sign in to comment.