Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55d80506 authored by Vincent Stehlé's avatar Vincent Stehlé Committed by Mauro Carvalho Chehab
Browse files

[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: c8eb2d7e ("[media] media: Add Mediatek MDP Driver")

Signed-off-by: default avatarVincent Stehlé <vincent.stehle@laposte.net>
Cc: Minghsiu Tsai <minghsiu.tsai@mediatek.com>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 5fc4b067
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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[] = {