Re: [PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-08 Thread Linus Walleij
On Wed, Mar 2, 2016 at 10:58 PM, Arnd Bergmann wrote: > The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to > conditionally set the correct suspend/resume options, but they > become unused when CONFIG_PM is disabled: > > drivers/pinctrl/pinctrl-at91-pio4.c:827:12:

Re: [PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-08 Thread Linus Walleij
On Wed, Mar 2, 2016 at 10:58 PM, Arnd Bergmann wrote: > The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to > conditionally set the correct suspend/resume options, but they > become unused when CONFIG_PM is disabled: > > drivers/pinctrl/pinctrl-at91-pio4.c:827:12: error:

Re: [PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-02 Thread Ludovic Desroches
On Wed, Mar 02, 2016 at 04:58:53PM +0100, Arnd Bergmann wrote: > The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to > conditionally set the correct suspend/resume options, but they > become unused when CONFIG_PM is disabled: > > drivers/pinctrl/pinctrl-at91-pio4.c:827:12: error:

Re: [PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-02 Thread Ludovic Desroches
On Wed, Mar 02, 2016 at 04:58:53PM +0100, Arnd Bergmann wrote: > The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to > conditionally set the correct suspend/resume options, but they > become unused when CONFIG_PM is disabled: > > drivers/pinctrl/pinctrl-at91-pio4.c:827:12: error:

[PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to conditionally set the correct suspend/resume options, but they become unused when CONFIG_PM is disabled: drivers/pinctrl/pinctrl-at91-pio4.c:827:12: error: 'atmel_pctrl_suspend' defined but not used [-Werror=unused-function]

Re: [PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-02 Thread Nicolas Ferre
Le 02/03/2016 16:58, Arnd Bergmann a écrit : > The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to > conditionally set the correct suspend/resume options, but they > become unused when CONFIG_PM is disabled: > > drivers/pinctrl/pinctrl-at91-pio4.c:827:12: error: 'atmel_pctrl_suspend'

Re: [PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-02 Thread Nicolas Ferre
Le 02/03/2016 16:58, Arnd Bergmann a écrit : > The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to > conditionally set the correct suspend/resume options, but they > become unused when CONFIG_PM is disabled: > > drivers/pinctrl/pinctrl-at91-pio4.c:827:12: error: 'atmel_pctrl_suspend'

[PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to conditionally set the correct suspend/resume options, but they become unused when CONFIG_PM is disabled: drivers/pinctrl/pinctrl-at91-pio4.c:827:12: error: 'atmel_pctrl_suspend' defined but not used [-Werror=unused-function]