Input: twl4030-vibra - really switch from #if to #ifdef
The commit f3761c0779
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>
这个提交包含在:
@@ -172,7 +172,7 @@ static void twl4030_vibra_close(struct input_dev *input)
|
||||
}
|
||||
|
||||
/*** Module ***/
|
||||
#if CONFIG_PM_SLEEP
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
static int twl4030_vibra_suspend(struct device *dev)
|
||||
{
|
||||
struct platform_device *pdev = to_platform_device(dev);
|
||||
|
在新工单中引用
屏蔽一个用户