mfd: sec-core: sec_pmic_{suspend,resume}() should depend on CONFIG_PM_SLEEP
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 26 Jan 2014 10:38:43 +0000 (11:38 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Feb 2014 13:30:34 +0000 (13:30 +0000)
commit8321bbf8906990e60cdb46be4c909a7780275942
treea7f705449533c94dcaa05bc8aac2d4379af15e4d
parent3edeb1e4b27e1553f4879e0e462724ac7cd75c62
mfd: sec-core: sec_pmic_{suspend,resume}() should depend on CONFIG_PM_SLEEP

If CONFIG_PM_SLEEP=n:

drivers/mfd/sec-core.c:349: warning: ‘sec_pmic_suspend’ defined but not used
drivers/mfd/sec-core.c:371: warning: ‘sec_pmic_resume’ defined but not used

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sec-core.c