diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-11-20 17:21:32 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-11-27 09:02:43 +0100 |
commit | 06b324fc856941a487f4ae3b58157f907ceb9309 (patch) | |
tree | 76de48a563fe73bed47927b14184b0b4ad4edbc0 /tools/power | |
parent | mfd: wm8994: Drop of_match_ptr from of_device_id table (diff) | |
download | linux-06b324fc856941a487f4ae3b58157f907ceb9309.tar.xz linux-06b324fc856941a487f4ae3b58157f907ceb9309.zip |
mfd: axp20x: Skip of_device_id table when !CONFIG_OF
The driver can match either via ACPI or OF. Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:
drivers/mfd/axp20x-i2c.c:60:34: warning: ‘axp20x_i2c_of_match’ defined but not used [-Wunused-const-variable=]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions