]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2104c5035be298ba4e78cc7ed853849e68104dc6
treea4004d4443cdb11c333eb9940fb411f3330339a2
parent1d34f91a63eedd79062a6f87485f01051f1e9812
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