ARM: at91: skip at91_io_desc definition for NOMMU
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 Apr 2012 13:18:53 +0000 (13:18 +0000)
committerArnd Bergmann <arnd@arndb.de>
Thu, 4 Oct 2012 08:21:29 +0000 (10:21 +0200)
commitac09281a026aad1fe489419bc948ba88b910e242
tree9351e3c8ac4fdf5248733d2384411d949dd38daa
parente0347c52384d494618299c64ad8ba68665044919
ARM: at91: skip at91_io_desc definition for NOMMU

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: Arnd Bergmann <arnd@arndb.de>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
arch/arm/mach-at91/setup.c