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

Commit ce54c400 authored by Abhimanyu Kapur's avatar Abhimanyu Kapur
Browse files

serial: tty: msm_hs_uart: Fix the compat table



The compat tables in the msm_hs and msm_hsl drivers do
not have a null terminator structure at the end of the
array. Add them.

Change-Id: I86bd6f92805328099126ef852fca1eb18cbe4670
Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent 70d51296
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -259,8 +259,8 @@ struct msm_hs_port {
};

static struct of_device_id msm_hs_match_table[] = {
	{ .compatible = "qcom,msm-hsuart-v14",
	},
	{ .compatible = "qcom,msm-hsuart-v14"},
	{}
};


+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ static const unsigned int regmap[][UARTDM_LAST] = {

static struct of_device_id msm_hsl_match_table[] = {
	{	.compatible = "qcom,msm-lsuart-v14",
		.data = (void *)UARTDM_VERSION_14
		.data = (void *)UARTDM_VERSION_14,
	},
	{}
};