commit | 03832aa87f81341d68f5f952c5418984dfb10139 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Wed May 08 23:41:18 2013 +0200 |
committer | Geert Uytterhoeven <geert@linux-m68k.org> | Sun Jun 23 15:55:14 2013 +0200 |
tree | 2e30340ed004b3f81b3998e1e0b3ca541fd9d261 | |
parent | 80ebf14546647e581e10e2cb14425a3621e782e0 [diff] |
input: cros_ec_keyb_clear_keyboard() depends on CONFIG_PM_SLEEP If CONFIG_PM_SLEEP is not set: drivers/input/keyboard/cros_ec_keyb.c:211: warning: ‘cros_ec_keyb_clear_keyboard’ defined but not used Move the definition of cros_ec_keyb_clear_keyboard() inside the section protected by #ifdef CONFIG_PM_SLEEP to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>