• A
    ARM: pxa: mark raumfeld init functions as __maybe_unused · f41bd6af
    Arnd Bergmann 提交于
    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: NArnd Bergmann <arnd@arndb.de>
    Acked-by: NDaniel Mack <daniel@zonque.org>
    f41bd6af
raumfeld.c 25.2 KB