Messages in this thread | | | Date | Mon, 26 Oct 2020 18:20:55 +0100 | From | Maxime Ripard <> | Subject | Re: [PATCH 3/3] mmc: sunxi: drop of_match_ptr from of_device_id table |
| |
On Mon, Oct 26, 2020 at 04:38:10PM +0100, Krzysztof Kozlowski wrote: > The driver can match only via DT table so it 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 for sunxi). This > fixes compile warning: > > drivers/mmc/host/sunxi-mmc.c:1181:34: warning: ‘sunxi_mmc_of_match’ defined but not used [-Wunused-const-variable=] > > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Maxime [unhandled content-type:application/pgp-signature] | |