mfd: max14577: max14577_{suspend,resume}() should depend on CONFIG_PM_SLEEP
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 26 Jan 2014 10:38:42 +0000 (11:38 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Feb 2014 13:30:32 +0000 (13:30 +0000)
commit3edeb1e4b27e1553f4879e0e462724ac7cd75c62
tree86c03030e7007642497e7d33fd17dc53448240c7
parent5c6fbd56d16f38fddec629e1dccdeee5ad7f5a42
mfd: max14577: max14577_{suspend,resume}() should depend on CONFIG_PM_SLEEP

If CONFIG_PM_SLEEP=n:

drivers/mfd/max14577.c:177: warning: ‘max14577_suspend’ defined but not used
drivers/mfd/max14577.c:200: warning: ‘max14577_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/max14577.c