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

Linus Walleij linus.walleij at linaro.org
Fri Feb 15 04:12:39 EST 2013


On Thu, Feb 14, 2013 at 2:49 PM, Arnd Bergmann <arnd at 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: 'versatile_io_desc' defined but not used
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Russell King <linux at arm.linux.org.uk>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list