diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-03-18 14:56:49 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-03-24 11:17:38 +0100 |
commit | aa4e133184eac7fdba7df4ac3bdce8711cbc42b6 (patch) | |
tree | 4bd618c421467851b73e79ce28cd4dd2ea8390a1 | |
parent | PCI: pci-dra7xx: Prepare for deferred probe with module_platform_driver (diff) | |
download | linux-aa4e133184eac7fdba7df4ac3bdce8711cbc42b6.tar.xz linux-aa4e133184eac7fdba7df4ac3bdce8711cbc42b6.zip |
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: a15de032a72d ("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>
-rw-r--r-- | arch/arm/mach-omap2/pdata-quirks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 9f304525b193..ebea270105b6 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -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; |