ARM: pxa: mark unused eseries code as __maybe_unused
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Jan 2016 14:06:27 +0000 (15:06 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 1 Feb 2016 20:44:12 +0000 (21:44 +0100)
commit0a137a1a38c64dbd4c61df7a4f3bce4dc12beecd
treeaaa488e83435f927e0f013d82bfd1254da27c868
parent289873476efd0aeda64e84075285f04b0d1e8a89
ARM: pxa: mark unused eseries code as __maybe_unused

Two variables in eseries.c are used on multiple platforms,
but are not referenced when those are all disabled:

eseries.c:60:31: warning: 'e7xx_gpio_vbus' defined but not used [-Wunused-variable]
eseries.c:129:20: warning: 'eseries_register_clks' defined but not used [-Wunused-function]

Marking them __maybe_unused is the nicest way to ensure
that we never get the warning or end up with missing symbols
if we get it wrong.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/eseries.c