diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-29 15:06:27 +0100 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-02-01 21:44:12 +0100 |
commit | 0a137a1a38c64dbd4c61df7a4f3bce4dc12beecd (patch) | |
tree | aaa488e83435f927e0f013d82bfd1254da27c868 /arch/arm/configs/pxa_defconfig | |
parent | ARM: pxa: mark spitz_card_pwr_ctrl as __maybe_unused (diff) | |
download | linux-0a137a1a38c64dbd4c61df7a4f3bce4dc12beecd.tar.xz linux-0a137a1a38c64dbd4c61df7a4f3bce4dc12beecd.zip |
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>
Diffstat (limited to 'arch/arm/configs/pxa_defconfig')
0 files changed, 0 insertions, 0 deletions