ARM: mmp: Make some symbols static
authorChen Lifu <chenlifu@huawei.com>
Wed, 17 Aug 2022 08:14:20 +0000 (16:14 +0800)
committerArnd Bergmann <arnd@arndb.de>
Mon, 10 Oct 2022 08:40:10 +0000 (10:40 +0200)
commitbd60aafce5e1943fd395b8bf726e9824fa621eca
tree9f32c893b43808172a9a2036135523362580c2a1
parent390ca5bca7cdb95042dcb445375db0d9eba7aa4a
ARM: mmp: Make some symbols static

These symbols pxa168_usb_phy_resources, pxa168_u2o_resources,
pxa168_u2oehci_resources and pxa168_u2ootg_resources are not used
outside of arch/arm/mach-mmp/devices.c, so mark them static.

Fixes the following sparse warning:

arch/arm/mach-mmp/devices.c:241:17: warning: symbol 'pxa168_usb_phy_resources' was not declared. Should it be static?
arch/arm/mach-mmp/devices.c:262:17: warning: symbol 'pxa168_u2o_resources' was not declared. Should it be static?
arch/arm/mach-mmp/devices.c:297:17: warning: symbol 'pxa168_u2oehci_resources' was not declared. Should it be static?
arch/arm/mach-mmp/devices.c:324:17: warning: symbol 'pxa168_u2ootg_resources' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Chen Lifu <chenlifu@huawei.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-mmp/devices.c