diff options
author | Vincent Stehlé <vincent.stehle@laposte.net> | 2016-10-27 18:23:25 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 13:26:58 -0200 |
commit | 55d80506c5f7c3a44bad4a2bedeb3cc8235a69a1 (patch) | |
tree | 0c40f9af000418a43279b5ac911df7e92a789c4a /drivers/media/platform | |
parent | 5fc4b067ec082c3127e0156f800769b7e0dce078 (diff) |
[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')
-rw-r--r-- | drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 3 |
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[] = { |