Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: twl4030-vibra - really switch from #if to #ifdef

The commit f3761c0779b62276b5bf84532a81d5dc49bd721f claimed to change
#if to #ifdef to avoid compiler warnings when CONFIG_PM_SLEEP is not
defined, but failed at that.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

+1 -1
+1 -1
drivers/input/misc/twl4030-vibra.c
··· 172 172 } 173 173 174 174 /*** Module ***/ 175 - #if CONFIG_PM_SLEEP 175 + #ifdef CONFIG_PM_SLEEP 176 176 static int twl4030_vibra_suspend(struct device *dev) 177 177 { 178 178 struct platform_device *pdev = to_platform_device(dev);