[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7h4km6xtir.fsf@baylibre.com>
Date: Tue, 03 Nov 2020 09:03:08 -0800
From: Kevin Hilman <khilman@...libre.com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Neil Armstrong <narmstrong@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
linux-mmc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] mmc: meson-gx: drop of_match_ptr from of_device_id table
Krzysztof Kozlowski <krzk@...nel.org> writes:
> The driver can match only via the DT table so the table should be always
> used and the of_match_ptr does not have any sense (this also allows ACPI
> matching via PRP0001, even though it is not relevant here). This fixes
> compile warning (!CONFIG_OF && !CONFIG_MODULES):
>
> drivers/mmc/host/meson-gx-mmc.c:1252:34: warning:
> ‘meson_mmc_of_match’ defined but not used [-Wunused-const-variable=]
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
Thanks for the fix.
Acked-by: Kevin Hilman <khilman@...libre.com>
Kevin
Powered by blists - more mailing lists