Message ID | 20210318135649.1286347-1-weiyongjun1@huawei.com |
---|---|
State | New |
Headers | show |
Series | [-next] ARM: OMAP2+: Make symbol 'pdata_quirks_init_clocks' static | expand |
* 'w00385741 <weiyongjun1@huawei.com> [210318 15:49]: > From: Wei Yongjun <weiyongjun1@huawei.com> > > 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. Thanks applying into omap-for-v5.13/ti-sysc. Regards, Tony
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 3405aa815a24..765809b214e7 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;