[PATCH 02/28] media: cec: meson: drop of_match_ptr for ID table

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun Mar 12 13:22:53 PDT 2023


On Sun, Mar 12, 2023 at 2:13 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 might not be relevant here).
>
>   drivers/media/cec/platform/meson/ao-cec.c:711:34: error: ‘meson_ao_cec_of_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-mediatek mailing list