• Arnd Bergmann's avatar
    ARM: at91: skip at91_io_desc definition for NOMMU · ac09281a
    Arnd Bergmann authored
    On NOMMU systems, we do cannot remap the MMIO space, so the
    definition of at91_io_desc is unused.
    
    Without this patch, building at91x40_defconfig results in:
    
    arch/arm/mach-at91/setup.c:90:24: warning: 'at91_io_desc' defined but not used [-Wunused-variable]
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
    Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
    ac09281a
setup.c 11 KB