Re: [PATCH 06/11] ARM: integrator/versatile: fix NOMMU warnings

2013-02-15 Thread Linus Walleij
On Thu, Feb 14, 2013 at 2:49 PM, Arnd Bergmann wrote: > 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'

Re: [PATCH 06/11] ARM: integrator/versatile: fix NOMMU warnings

2013-02-15 Thread Linus Walleij
On Thu, Feb 14, 2013 at 2:49 PM, Arnd Bergmann a...@arndb.de wrote: 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:

[PATCH 06/11] ARM: integrator/versatile: fix NOMMU warnings

2013-02-14 Thread Arnd Bergmann
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 Cc: Linus Walleij

[PATCH 06/11] ARM: integrator/versatile: fix NOMMU warnings

2013-02-14 Thread Arnd Bergmann
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 a...@arndb.de Cc: