diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-12-08 23:12:22 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-15 23:50:09 +0100 |
commit | f41bd6afb78e024880ba84a642a75b2a2e108304 (patch) | |
tree | 076929def798da7b42dd75109b97b2e21cedb180 /kernel/memremap.c | |
parent | f39c42f5f9d851d4f8779d91cc9cb2ec0f9a70c6 (diff) | |
download | linux-rt-f41bd6afb78e024880ba84a642a75b2a2e108304.tar.gz |
ARM: pxa: mark raumfeld init functions as __maybe_unused
The raumfeld.c file contains three similar machine definitions,
each with their own init function. If one or more of them are
disabled, we get compile-time warnings:
arm/mach-pxa/raumfeld.c:1070:123: warning: 'raumfeld_connector_init' defined but not used [-Wunused-function]
arm/mach-pxa/raumfeld.c:1082:123: warning: 'raumfeld_speaker_init' defined but not used [-Wunused-function]
This marks the functions as __maybe_unused to avoid the warnings.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Daniel Mack <daniel@zonque.org>
Diffstat (limited to 'kernel/memremap.c')
0 files changed, 0 insertions, 0 deletions