]> git.baikalelectronics.ru Git - kernel.git/commit
Input: twl6040-vibra - fix compiler warning
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 9 Sep 2011 17:15:29 +0000 (10:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 9 Sep 2011 17:16:21 +0000 (10:16 -0700)
commit151c52117e4b6b64a2cd3dc2a6f3daa0c252961b
tree8019d70a88bcc3b1dc69b01312bd8e02ca893df0
parentdc0f0563ddf08aae9c6dd7ed95e40d1aeb706c43
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