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
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
---
2 matches
Mail list logo