diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-09-11 16:27:27 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2020-10-03 20:17:50 +0000 |
| commit | 5bcb3dae01da624e353ba3acdcd045a2fe540675 (patch) | |
| tree | 0d2975dd3e5e0976fb872b6be47c4a7925eab93b /lib/test_xarray.c | |
| parent | power: supply: goldfish: skip 'struct acpi_device_id' when !CONFIG_ACPI (diff) | |
| download | kernel-5bcb3dae01da624e353ba3acdcd045a2fe540675.tar.gz kernel-5bcb3dae01da624e353ba3acdcd045a2fe540675.zip | |
power: supply: rt9455: 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/rt9455_charger.c:1734:36: warning:
'rt9455_i2c_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
