mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-20 08:47:59 -05:00
media: platform: ti: am437x: 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). This also fixes !CONFIG_OF error: drivers/media/platform/ti/am437x/am437x-vpfe.c:2620:34: error: ‘vpfe_of_match’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
af05547499
commit
3231e8b4c5
@@ -2630,7 +2630,7 @@ static struct platform_driver vpfe_driver = {
|
||||
.driver = {
|
||||
.name = VPFE_MODULE_NAME,
|
||||
.pm = &vpfe_pm_ops,
|
||||
.of_match_table = of_match_ptr(vpfe_of_match),
|
||||
.of_match_table = vpfe_of_match,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user