aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-23 07:38:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-27 10:01:31 -0400
commitbeadba5e19e2c44ec3527d3d1fc3ac3eda957e09 (patch)
tree39960ece912fa4b3fd87d5f47fdc3f5279172f66
parent78c22449f2d32aafd8804047f7e3bee4926b52eb (diff)
serial: pch_uart: add terminate entry for dmi_system_id tables
Make sure dmi_system_id tables are NULL terminated. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/pch_uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index d391650b82e7..42caccb5e87e 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -419,6 +419,7 @@ static struct dmi_system_id pch_uart_dmi_table[] = {
419 }, 419 },
420 (void *)MINNOW_UARTCLK, 420 (void *)MINNOW_UARTCLK,
421 }, 421 },
422 { }
422}; 423};
423 424
424/* Return UART clock, checking for board specific clocks. */ 425/* Return UART clock, checking for board specific clocks. */