aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/platform/coda/imx-vdoa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/coda/imx-vdoa.c b/drivers/media/platform/coda/imx-vdoa.c
index f61baf7dcbc1..67fd8ffa60a4 100644
--- a/drivers/media/platform/coda/imx-vdoa.c
+++ b/drivers/media/platform/coda/imx-vdoa.c
@@ -315,13 +315,13 @@ static int vdoa_remove(struct platform_device *pdev)
315 return 0; 315 return 0;
316} 316}
317 317
318static struct of_device_id vdoa_dt_ids[] = { 318static const struct of_device_id vdoa_dt_ids[] = {
319 { .compatible = "fsl,imx6q-vdoa" }, 319 { .compatible = "fsl,imx6q-vdoa" },
320 {} 320 {}
321}; 321};
322MODULE_DEVICE_TABLE(of, vdoa_dt_ids); 322MODULE_DEVICE_TABLE(of, vdoa_dt_ids);
323 323
324static struct platform_driver vdoa_driver = { 324static const struct platform_driver vdoa_driver = {
325 .probe = vdoa_probe, 325 .probe = vdoa_probe,
326 .remove = vdoa_remove, 326 .remove = vdoa_remove,
327 .driver = { 327 .driver = {