mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
ARM: OMAP2+: Make symbol 'pdata_quirks_init_clocks' static
The sparse tool complains as follows:
arch/arm/mach-omap2/pdata-quirks.c:578:1: warning:
symbol 'pdata_quirks_init_clocks' was not declared. Should it be static?
This symbol is not used outside of pdata-quirks.c, so this
commit marks it static.
Fixes: a15de032a7
("ARM: OMAP2+: Init both prm and prcm nodes early for clocks")
Reported-by: Hulk Robot <hulkci@huawei.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
e259c2926c
commit
aa4e133184
@ -574,7 +574,7 @@ static const char * const pdata_quirks_init_nodes[] = {
|
||||
"prm",
|
||||
};
|
||||
|
||||
void __init
|
||||
static void __init
|
||||
pdata_quirks_init_clocks(const struct of_device_id *omap_dt_match_table)
|
||||
{
|
||||
struct device_node *np;
|
||||
|
Loading…
Reference in New Issue
Block a user