linux-stable/drivers/pinctrl/spear
Jingoo Han 37e4901449 pinctrl: plgpio: add CONFIG_PM_SLEEP to suspend/resume functions
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
build warning when CONFIG_PM_SLEEP is not selected. This is because
sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when
the CONFIG_PM_SLEEP is enabled.

drivers/pinctrl/spear/pinctrl-plgpio.c:645:12: warning: 'plgpio_suspend' defined but not used [-Wunused-function]
drivers/pinctrl/spear/pinctrl-plgpio.c:684:12: warning: 'plgpio_resume' defined but not used [-Wunused-function]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-04-30 13:01:17 +02:00
..
Kconfig pinctrl: SPEAr: Add gpio ranges support 2012-11-11 19:07:03 +01:00
Makefile pinctrl: SPEAr: Add plgpio driver 2012-11-11 19:06:00 +01:00
pinctrl-plgpio.c pinctrl: plgpio: add CONFIG_PM_SLEEP to suspend/resume functions 2013-04-30 13:01:17 +02:00
pinctrl-spear.c pinctrl: Declare operation structures as const 2013-03-07 05:27:29 +01:00
pinctrl-spear.h Drivers: pinctrl: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
pinctrl-spear3xx.c pinctrl: SPEAr: Add gpio ranges support 2012-11-11 19:07:03 +01:00
pinctrl-spear3xx.h pinctrl: SPEAr3xx: correct register space to configure pwm 2012-11-05 12:33:37 +01:00
pinctrl-spear300.c Drivers: pinctrl: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
pinctrl-spear310.c Drivers: pinctrl: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
pinctrl-spear320.c Drivers: pinctrl: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
pinctrl-spear1310.c Drivers: pinctrl: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
pinctrl-spear1340.c Drivers: pinctrl: remove __dev* attributes. 2013-01-03 15:57:02 -08:00