On Wed, May 8, 2013 at 3:45 PM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxxx> Acked-by: Simon Glass <sjg@xxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html