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 30e9e60..517cd07 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);