From: Axel Lin Date: Mon, 10 Nov 2014 08:05:03 +0000 (+0800) Subject: tty: serial: men_z135_uart: Add terminating entry for men_z135_ids X-Git-Tag: v3.16.35~3312 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0f76a5e9b3af05c83e3eed47b3806157e5d940d;p=thirdparty%2Fkernel%2Fstable.git tty: serial: men_z135_uart: Add terminating entry for men_z135_ids commit 6b1f40cf4840820051d69646af0b6503878cb1bc upstream. The mcb_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin Signed-off-by: Greg Kroah-Hartman Signed-off-by: Luis Henriques --- diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c index c9d18548783a4..6a011247b11d0 100644 --- a/drivers/tty/serial/men_z135_uart.c +++ b/drivers/tty/serial/men_z135_uart.c @@ -809,6 +809,7 @@ static void men_z135_remove(struct mcb_device *mdev) static const struct mcb_device_id men_z135_ids[] = { { .device = 0x87 }, + { } }; MODULE_DEVICE_TABLE(mcb, men_z135_ids);