mfd: kempld-core: Fix unused variable 'kempld_acpi_table' when !ACPI
drivers/mfd/kempld-core.c:556:36: warning: unused variable 'kempld_acpi_table' [-Wunused-const-variable] Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
328162a882
commit
6d81dc3c79
@ -553,11 +553,13 @@ static int kempld_remove(struct platform_device *pdev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_ACPI
|
||||||
static const struct acpi_device_id kempld_acpi_table[] = {
|
static const struct acpi_device_id kempld_acpi_table[] = {
|
||||||
{ "KEM0001", (kernel_ulong_t)&kempld_platform_data_generic },
|
{ "KEM0001", (kernel_ulong_t)&kempld_platform_data_generic },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(acpi, kempld_acpi_table);
|
MODULE_DEVICE_TABLE(acpi, kempld_acpi_table);
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct platform_driver kempld_driver = {
|
static struct platform_driver kempld_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
Loading…
Reference in New Issue
Block a user