From: Geert Uytterhoeven Date: Wed, 8 May 2013 21:41:18 +0000 (+0200) Subject: input: cros_ec_keyb_clear_keyboard() depends on CONFIG_PM_SLEEP X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~36^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03832aa87f81341d68f5f952c5418984dfb10139;p=pandora-kernel.git 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 Acked-by: Simon Glass Acked-by: Dmitry Torokhov --- Reading git-diff-tree failed