diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-09-11 16:27:23 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2020-10-03 20:17:50 +0000 |
| commit | 7da9f17fc2b9a3493c6fd55e96521485035bc670 (patch) | |
| tree | 2149ec57bd7b0138e94a5d92061b26e26dab8280 /lib/test_xarray.c | |
| parent | power: supply: max17040: Support soc alert (diff) | |
| download | kernel-7da9f17fc2b9a3493c6fd55e96521485035bc670.tar.gz kernel-7da9f17fc2b9a3493c6fd55e96521485035bc670.zip | |
power: supply: bq24257: skip 'struct acpi_device_id' when !CONFIG_ACPI
Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI, the
struct acpi_device_id becomes unused:
drivers/power/supply/bq24257_charger.c:1155:36: warning:
'bq24257_acpi_match' defined but not used [-Wunused-const-variable=]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
