Re: [PATCH] sparc: i8042-sparcio.h: fix unused kbd_res warning

From: Dmitry Torokhov
Date: Tue Aug 19 2014 - 17:18:27 EST


On Tue, Aug 19, 2014 at 11:09:37PM +0200, Vincent Stehlà wrote:
> 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@xxxxxxxxxxx>

Applied, thank you.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/