mirror of
https://github.com/torvalds/linux.git
synced 2024-10-24 22:20:55 +00:00
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>
This commit is contained in:
parent
ca88da3c57
commit
63410b0b80
|
@ -9,9 +9,9 @@
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/of_platform.h>
|
#include <linux/of_platform.h>
|
||||||
#include <linux/export.h>
|
#include <linux/export.h>
|
||||||
|
#include <asm/mpc5xxx.h>
|
||||||
|
|
||||||
unsigned int
|
unsigned long mpc5xxx_get_bus_frequency(struct device_node *node)
|
||||||
mpc5xxx_get_bus_frequency(struct device_node *node)
|
|
||||||
{
|
{
|
||||||
struct device_node *np;
|
struct device_node *np;
|
||||||
const unsigned int *p_bus_freq = NULL;
|
const unsigned int *p_bus_freq = NULL;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user