]> Git Repo - linux.git/commit - drivers/pwm/pwm-tiecap.c
pwm: pwm-tiecap: add CONFIG_PM_SLEEP to suspend/resume functions
authorJingoo Han <[email protected]>
Mon, 11 Mar 2013 02:12:58 +0000 (11:12 +0900)
committerThierry Reding <[email protected]>
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 <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
drivers/pwm/pwm-tiecap.c
This page took 0.05141 seconds and 4 git commands to generate.