Input: sparc - i8042-sparcio.h: fix unused kbd_res warning
authorVincent Stehlé <vincent.stehle@laposte.net>
Tue, 19 Aug 2014 21:17:37 +0000 (14:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Aug 2014 21:20:40 +0000 (14:20 -0700)
commitfb92be7ba8ca6be57b6595d2cb2d30a53b39417d
treefefc6ff1868cc65ba7e892f360b787d942727b9d
parentf5940231a5a27fa015aaff42db8dac05362d53bc
Input: sparc - i8042-sparcio.h: fix unused kbd_res warning

kbd_res is used only when CONFIG_PCI is defined; condition its declaration as
well. This fixes the following compilation warning:

  drivers/input/serio/i8042-sparcio.h:20:25: warning: ‘kbd_res’ defined but not used [-Wunused-variable]

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-sparcio.h