]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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>
Wed, 26 Nov 2014 01:06:38 +0000 (17:06 -0800)
The mcb_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: stable <stable@vger.kernel.org>
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);