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

Commit a59569ca authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

msm: mdss: hdmi: add missing sentinel to of_match_table



The DT of_match_table is missing the NULL entry that is needed to
terminate the table. Without this there is a risk of corrupting memory.

Change-Id: Ida223b91b00c72a6a2990653e3cb5ee693bd7e05
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent ce80330c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3976,6 +3976,7 @@ static int hdmi_tx_remove(struct platform_device *pdev)

static const struct of_device_id hdmi_tx_dt_match[] = {
	{.compatible = COMPATIBLE_NAME,},
	{ /* Sentinel */ },
};
MODULE_DEVICE_TABLE(of, hdmi_tx_dt_match);