From: Lee Jones Date: Tue, 17 Nov 2020 21:46:18 +0000 (-0800) Subject: Input: elan_i2c_core - move header inclusion inside X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c7f0169e3bd274e576f6aaeee86ad2adf7bb14b5;p=linux.git Input: elan_i2c_core - move header inclusion inside The same clause as its use. Fixes the following W=1 kernel build warning(s): include/linux/input/elan-i2c-ids.h:26:36: warning: ‘elan_acpi_id’ defined but not used [-Wunused-const-variable=] Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20201112104420.GG1997862@dell Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index c599e21a84784..65d21a050cea0 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++ b/drivers/input/mouse/elan_i2c_core.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include @@ -1413,6 +1412,7 @@ static const struct i2c_device_id elan_id[] = { MODULE_DEVICE_TABLE(i2c, elan_id); #ifdef CONFIG_ACPI +#include MODULE_DEVICE_TABLE(acpi, elan_acpi_id); #endif