aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/pch_uart.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-23 11:38:18 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-27 16:01:31 +0200
commitbeadba5e19e2c44ec3527d3d1fc3ac3eda957e09 (patch)
tree39960ece912fa4b3fd87d5f47fdc3f5279172f66 /drivers/tty/serial/pch_uart.c
parentdevicetree: bindings: uart: Add new compatible string for ZynqMP (diff)
downloadlinux-dev-beadba5e19e2c44ec3527d3d1fc3ac3eda957e09.tar.xz
linux-dev-beadba5e19e2c44ec3527d3d1fc3ac3eda957e09.zip
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>
Diffstat (limited to '')
-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[] = {
},
(void *)MINNOW_UARTCLK,
},
+ { }
};
/* Return UART clock, checking for board specific clocks. */