tty: serial: men_z135_uart: Add terminating entry for men_z135_ids
authorAxel Lin <axel.lin@ingics.com>
Mon, 10 Nov 2014 08:05:03 +0000 (16:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2015 14:59:52 +0000 (06:59 -0800)
commit 6b1f40cf4840820051d69646af0b6503878cb1bc upstream.

The mcb_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/men_z135_uart.c

index 30e9e60bc5cdd8b85c7d8278dec91ad7e2e5beb4..517cd073dc0856a7a5e078d1b3ecc95d698189b5 100644 (file)
@@ -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);