• Arnd Bergmann's avatar
    ARM: integrator/versatile: fix NOMMU warnings · 060fd1be
    Arnd Bergmann authored
    On NOMMU kernels, the io_desc variables are unused
    because we don't use the MMU to remap the MMIO
    areas.
    
    Marking these variables as __maybe_unused easily
    avoids the otherwise harmless warnings like
    
    warning: 'versatile_io_desc' defined but not used
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Russell King <linux@arm.linux.org.uk>
    060fd1be
integrator_cp.c 14.2 KB