Re: [PATCH] ARM: pxa: mark raumfeld init functions as __maybe_unused

2015-12-09 Thread Daniel Mack
On 12/09/2015 05:52 PM, Arnd Bergmann wrote: > 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

[PATCH] ARM: pxa: mark raumfeld init functions as __maybe_unused

2015-12-09 Thread 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]

Re: [PATCH] ARM: pxa: mark raumfeld init functions as __maybe_unused

2015-12-09 Thread Daniel Mack
On 12/09/2015 05:52 PM, Arnd Bergmann wrote: > 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

[PATCH] ARM: pxa: mark raumfeld init functions as __maybe_unused

2015-12-09 Thread 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]