• Chen Lifu's avatar
    ARM: mmp: Make some symbols static · bd60aafc
    Chen Lifu authored
    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: default avatarkernel test robot <lkp@intel.com>
    Signed-off-by: default avatarChen Lifu <chenlifu@huawei.com>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    bd60aafc
devices.c 8.37 KB