Re: [PATCH] mfd/axp20x-i2c: Fix "CONFIG_ACPI" is not defined warning

2020-07-08 Thread Lee Jones
On Tue, 07 Jul 2020, Axel Lin wrote: > Fix below build warning: > > drivers/mfd/axp20x-i2c.c:82:5: warning: "CONFIG_ACPI" is not defined, > evaluates to 0 [-Wundef] >82 | #if CONFIG_ACPI > | ^~~ > > Fixes: 20f359cb236b ("mfd: axp20x-i2c: Do not define 'struct acpi_device_i

[PATCH] mfd/axp20x-i2c: Fix "CONFIG_ACPI" is not defined warning

2020-07-07 Thread Axel Lin
Fix below build warning: drivers/mfd/axp20x-i2c.c:82:5: warning: "CONFIG_ACPI" is not defined, evaluates to 0 [-Wundef] 82 | #if CONFIG_ACPI | ^~~ Fixes: 20f359cb236b ("mfd: axp20x-i2c: Do not define 'struct acpi_device_id' when !CONFIG_ACPI") Signed-off-by: Axel Lin ---