Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63410b0b authored by Anatolij Gustschin's avatar Anatolij Gustschin
Browse files

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: default avatarAnatolij Gustschin <agust@denx.de>
parent ca88da3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;