ARM: integrator/versatile: fix NOMMU warnings
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Feb 2013 12:50:57 +0000 (13:50 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 14 Feb 2013 14:04:37 +0000 (15:04 +0100)
commit060fd1be0c720166091470ffb7846512b82c1a87
treec54466248ee3f42b47befdd48bed4c2616b9f58d
parent29408ed963cc9839c742ed61b8e8e69bff431eb0
ARM: integrator/versatile: fix NOMMU warnings

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: Arnd Bergmann <arnd@arndb.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_cp.c
arch/arm/mach-versatile/core.c