On Sat, Nov 21, 2020 at 12:22 AM Krzysztof Kozlowski <[email protected]> wrote: > > 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 <[email protected]>
Acked-by: Chen-Yu Tsai <[email protected]>

