[PATCH 04/16] spi: meson-spifc: Drop of_match_ptr for ID table
Martin Blumenstingl
martin.blumenstingl at googlemail.com
Sat Mar 11 13:03:10 PST 2023
On Fri, Mar 10, 2023 at 11:29 PM Krzysztof Kozlowski
<krzysztof.kozlowski at linaro.org> wrote:
>
> 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).
>
> drivers/spi/spi-meson-spifc.c:434:34: error: ‘meson_spifc_dt_match’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
More information about the Linux-rockchip
mailing list