summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/mtk-mdp
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2016-10-27 22:23:25 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 16:26:58 +0100
commit55d80506c5f7c3a44bad4a2bedeb3cc8235a69a1 (patch)
tree0c40f9af000418a43279b5ac911df7e92a789c4a /drivers/media/platform/mtk-mdp
parent[media] media: solo6x10: fix lockup by avoiding delayed register write (diff)
downloadlinux-55d80506c5f7c3a44bad4a2bedeb3cc8235a69a1.tar.xz
linux-55d80506c5f7c3a44bad4a2bedeb3cc8235a69a1.zip
[media] media: mtk-mdp: NULL-terminate mtk_mdp_comp_dt_ids
The mtk_mdp_comp_dt_ids[] array should be NULL-terminated; add therefore an empty entry in the end. Fixes: c8eb2d7e8202fd9c ("[media] media: Add Mediatek MDP Driver") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Minghsiu Tsai <minghsiu.tsai@mediatek.com> Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/mtk-mdp')
-rw-r--r--drivers/media/platform/mtk-mdp/mtk_mdp_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c b/drivers/media/platform/mtk-mdp/mtk_mdp_core.c
index 40a229d8a1f5..53296e22a024 100644
--- a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c
+++ b/drivers/media/platform/mtk-mdp/mtk_mdp_core.c
@@ -50,7 +50,8 @@ static const struct of_device_id mtk_mdp_comp_dt_ids[] = {
}, {
.compatible = "mediatek,mt8173-mdp-wrot",
.data = (void *)MTK_MDP_WROT
- }
+ },
+ { },
};
static const struct of_device_id mtk_mdp_of_ids[] = {