mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
[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: c8eb2d7e82
("[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>
This commit is contained in:
parent
5fc4b067ec
commit
55d80506c5
@ -50,7 +50,8 @@ static const struct of_device_id mtk_mdp_comp_dt_ids[] = {
|
|||||||
}, {
|
}, {
|
||||||
.compatible = "mediatek,mt8173-mdp-wrot",
|
.compatible = "mediatek,mt8173-mdp-wrot",
|
||||||
.data = (void *)MTK_MDP_WROT
|
.data = (void *)MTK_MDP_WROT
|
||||||
}
|
},
|
||||||
|
{ },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct of_device_id mtk_mdp_of_ids[] = {
|
static const struct of_device_id mtk_mdp_of_ids[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user