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

Commit beadba5e authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman
Browse files

serial: pch_uart: add terminate entry for dmi_system_id tables



Make sure dmi_system_id tables are NULL terminated.

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 78c22449
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -419,6 +419,7 @@ static struct dmi_system_id pch_uart_dmi_table[] = {
		},
		(void *)MINNOW_UARTCLK,
	},
	{ }
};

/* Return UART clock, checking for board specific clocks. */