Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Vincent Stehlé and committed by
Mauro Carvalho Chehab
55d80506 5fc4b067

+2 -1
+2 -1
drivers/media/platform/mtk-mdp/mtk_mdp_core.c
··· 50 50 }, { 51 51 .compatible = "mediatek,mt8173-mdp-wrot", 52 52 .data = (void *)MTK_MDP_WROT 53 - } 53 + }, 54 + { }, 54 55 }; 55 56 56 57 static const struct of_device_id mtk_mdp_of_ids[] = {