Input: twl6040-vibra - fix compiler warning
commitb6b1e927cec6b472578402f07f5befa79a96818d
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 9 Sep 2011 17:15:29 +0000 (9 10:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 9 Sep 2011 17:16:21 +0000 (9 10:16 -0700)
tree8019d70a88bcc3b1dc69b01312bd8e02ca893df0
parent95439cbad134de58d9ea256e37fd13fbcdc87d08
Input: twl6040-vibra - fix compiler warning

Fix warning from Geert's build summary emails by changing "if" to
"ifdef". Thsi should fix the following:

drivers/input/misc/twl6040-vibra.c:231:5: warning: "CONFIG_PM_SLEEP" is not defined

Builds cleanly with CONFIG_PM_SLEEP enabled or disabled.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/twl6040-vibra.c