From: Wei Yongjun Date: Sun, 23 Oct 2016 11:38:18 +0000 (+0000) Subject: serial: pch_uart: add terminate entry for dmi_system_id tables X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=beadba5e19e2c44ec3527d3d1fc3ac3eda957e09;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- 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. */