pwm: pwm-tiecap: add CONFIG_PM_SLEEP to suspend/resume functions
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 02:12:58 +0000 (11:12 +0900)
committerThierry Reding <thierry.reding@avionic-design.de>
Mon, 11 Mar 2013 07:28:22 +0000 (08:28 +0100)
commitb78f5fc92a836259b69d49129c6c1cad9b03c322
treea4004d4443cdb11c333eb9940fb411f3330339a2
parentc509a8e521939ca1fd4ba31feca4718328044230
pwm: pwm-tiecap: add CONFIG_PM_SLEEP to suspend/resume functions

This patch adds CONFIG_PM_SLEEP to suspend/resume functions to fix
the following build warning when CONFIG_PM_SLEEP is not selected.

drivers/pwm/pwm-tiecap.c:314:12: warning: 'ecap_pwm_suspend' defined but not used [-Wunused-function]
drivers/pwm/pwm-tiecap.c:328:12: warning: 'ecap_pwm_resume' defined but not used [-Wunused-function]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-tiecap.c