[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v67yrstBoMjHuCnVPvTdBDUXW3ML39839nDC7hoG9WuaGQ@mail.gmail.com>
Date: Sat, 21 Nov 2020 00:41:20 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Lee Jones <lee.jones@...aro.org>
Subject: Re: [PATCH 15/16] mfd: axp20x: skip of_device_id table when !CONFIG_OF
On Sat, Nov 21, 2020 at 12:22 AM Krzysztof Kozlowski <krzk@...nel.org> 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 <krzk@...nel.org>
Acked-by: Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists