diff options
-rw-r--r-- | drivers/input/keyboard/samsung-keypad.c | 2 | ||||
-rw-r--r-- | drivers/input/touchscreen/cyttsp4_core.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/samsung-keypad.c index 5e80fbf7b5ed..c994e3bbd776 100644 --- a/drivers/input/keyboard/samsung-keypad.c +++ b/drivers/input/keyboard/samsung-keypad.c | |||
@@ -463,7 +463,7 @@ static int samsung_keypad_remove(struct platform_device *pdev) | |||
463 | return 0; | 463 | return 0; |
464 | } | 464 | } |
465 | 465 | ||
466 | #ifdef CONFIG_PM_RUNTIME | 466 | #ifdef CONFIG_PM |
467 | static int samsung_keypad_runtime_suspend(struct device *dev) | 467 | static int samsung_keypad_runtime_suspend(struct device *dev) |
468 | { | 468 | { |
469 | struct platform_device *pdev = to_platform_device(dev); | 469 | struct platform_device *pdev = to_platform_device(dev); |
diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/input/touchscreen/cyttsp4_core.c index a035a390f8e2..568a3d340c8a 100644 --- a/drivers/input/touchscreen/cyttsp4_core.c +++ b/drivers/input/touchscreen/cyttsp4_core.c | |||
@@ -1716,7 +1716,7 @@ static void cyttsp4_free_si_ptrs(struct cyttsp4 *cd) | |||
1716 | kfree(si->btn_rec_data); | 1716 | kfree(si->btn_rec_data); |
1717 | } | 1717 | } |
1718 | 1718 | ||
1719 | #if defined(CONFIG_PM_SLEEP) || defined(CONFIG_PM_RUNTIME) | 1719 | #ifdef CONFIG_PM |
1720 | static int cyttsp4_core_sleep(struct cyttsp4 *cd) | 1720 | static int cyttsp4_core_sleep(struct cyttsp4 *cd) |
1721 | { | 1721 | { |
1722 | int rc; | 1722 | int rc; |