summaryrefslogtreecommitdiffstats
path: root/drivers/media/cec/platform
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-03-12 14:12:52 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-07-14 12:32:22 +0200
commit6fd44a30d0297c22406276ffb717f373170943ee (patch)
tree7c03be2d051ca51331637a9df14fadfe5f205619 /drivers/media/cec/platform
parent76024e1e98a01afe50b66cce621a98938e8f6c9f (diff)
downloadlinux-stable-6fd44a30d0297c22406276ffb717f373170943ee.tar.gz
linux-stable-6fd44a30d0297c22406276ffb717f373170943ee.tar.bz2
linux-stable-6fd44a30d0297c22406276ffb717f373170943ee.zip
media: cec: meson: drop of_match_ptr for ID table
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@linaro.org> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/cec/platform')
-rw-r--r--drivers/media/cec/platform/meson/ao-cec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/cec/platform/meson/ao-cec.c b/drivers/media/cec/platform/meson/ao-cec.c
index f6f51a34f7bd..494738daf09a 100644
--- a/drivers/media/cec/platform/meson/ao-cec.c
+++ b/drivers/media/cec/platform/meson/ao-cec.c
@@ -717,7 +717,7 @@ static struct platform_driver meson_ao_cec_driver = {
.remove_new = meson_ao_cec_remove,
.driver = {
.name = "meson-ao-cec",
- .of_match_table = of_match_ptr(meson_ao_cec_of_match),
+ .of_match_table = meson_ao_cec_of_match,
},
};