Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cca8edfd authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: sh_keysc - fix compile warning



The "#if" above should really be an "#ifdef" to avoid this warning:

  CC      drivers/input/keyboard/sh_keysc.o
drivers/input/keyboard/sh_keysc.c:294:5: warning: "CONFIG_PM_SLEEP" is
not defined

Reported-by: default avatarMagnus Damm <magnus.damm@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent cca23d0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,7 +291,7 @@ static int __devexit sh_keysc_remove(struct platform_device *pdev)
	return 0;
}

#if CONFIG_PM_SLEEP
#ifdef CONFIG_PM_SLEEP
static int sh_keysc_suspend(struct device *dev)
{
	struct platform_device *pdev = to_platform_device(dev);