Searched hist:"439 cd7eddc77638eda29874ec84c8fafb69e1fde" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | goldfish_battery.c | diff 439cd7eddc77638eda29874ec84c8fafb69e1fde Fri Sep 11 11:27:26 CDT 2020 Krzysztof Kozlowski <krzk@kernel.org> power: supply: goldfish: 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/goldfish_battery.c:269:36: warning: 'goldfish_battery_acpi_match' defined but not used [-Wunused-const-variable=]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|