• Arnd Bergmann's avatar
    ARM: omap: fix missing declaration warnings · e514f1fd
    Arnd Bergmann authored
    Moving the plat-omap files triggered a sparse warning for omap1 and
    omap2 that is now in a different file from before. Found some more sparse
    warnings here that I address by making sure the declaration is visible
    to both the caller and the callee, or they are static
    
    mach-omap1/fb.c:33:17: warning: symbol 'omap_fb_resources' was not declared. Should it be static?
    mach-omap1/timer32k.c:215:12: warning: symbol 'omap_init_clocksource_32k' was not declared. Should it be static?
    mach-omap1/i2c.c:36:12: warning: symbol 'omap_i2c_add_bus' was not declared. Should it be static?
    mach-omap1/i2c.c:115:12: warning: symbol 'omap_register_i2c_bus_cmdline' was not declared. Should it be static?
    mach-omap1/i2c.c:140:12: warning: symbol 'omap_register_i2c_bus' was not declared. Should it be static?
    mach-omap2/dma.c:180:34: warning: symbol 'dma_plat_info' was not declared. Should it be static?
    mach-omap2/omap4-common.c:116:6: warning: symbol 'omap_interconnect_sync' was not declared. Should it be static?
    mach-omap2/omap-iommu.c:113:5: warning: symbol 'omap_iommu_set_pwrdm_constraint' was not declared. Should it be static?
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Reviewed-by: default avatarTony Lindgren <tony@atomide.com>
    Tested-by: default avatarTony Lindgren <tony@atomide.com>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    e514f1fd
timer32k.c 8.23 KB