From: Dmitry Torokhov Date: Fri, 24 Feb 2012 08:51:40 +0000 (-0800) Subject: Input: twl4030-vibra - use proper guard for PM methods X-Git-Tag: v3.3-rc7~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3761c0779b62276b5bf84532a81d5dc49bd721f;p=pandora-kernel.git Input: twl4030-vibra - use proper guard for PM methods On m68k: drivers/input/misc/twl4030-vibra.c:175:5: warning: "CONFIG_PM" is not defined We should use #ifdef instead of #if and also check CONFIG_PM_SLEEP instead of CONFIG_PM. Reported-by: Geert Uytterhoeven Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed