misc: eeprom: at24: Tell the compiler that ACPI functions may not be used
authorLee Jones <lee.jones@linaro.org>
Wed, 1 Jul 2020 09:36:16 +0000 (10:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 12:50:51 +0000 (14:50 +0200)
commit8965930c0b55bca1e49addd677bb3b2e8231f979
treea1a00fb18d45d56b4c1e9b250415d254cb1756e1
parent7ca78630a1ae082e6d4488884cd771ee4bb266ea
misc: eeprom: at24: Tell the compiler that ACPI functions may not be used

... as is the case when !CONFIG_ACPI.

Fixes the following W=1 kernel build warning:

 drivers/misc/eeprom/at24.c:228:36: warning: ‘at24_acpi_ids’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20200701093616.GX1179328@dell
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/at24.c