mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 21:56:39 +07: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/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;
|
||||
|
Loading…
Reference in New Issue
Block a user