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.18.3~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fd0e781e95adbbb05b2f87354a4fae56bfbc8eb;p=platform%2Fkernel%2Flinux-stable.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 --- diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c index 30e9e60bc5cd..517cd073dc08 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);