提交 beadba5e 编写于 作者: W Wei Yongjun 提交者: Greg Kroah-Hartman

serial: pch_uart: add terminate entry for dmi_system_id tables

Make sure dmi_system_id tables are NULL terminated.
Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
Acked-by: NJiri Slaby <jslaby@suse.cz>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 78c22449
...@@ -419,6 +419,7 @@ static struct dmi_system_id pch_uart_dmi_table[] = { ...@@ -419,6 +419,7 @@ static struct dmi_system_id pch_uart_dmi_table[] = {
}, },
(void *)MINNOW_UARTCLK, (void *)MINNOW_UARTCLK,
}, },
{ }
}; };
/* Return UART clock, checking for board specific clocks. */ /* Return UART clock, checking for board specific clocks. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册