]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 12 Jan 2015 15:44:02 +0000 (15:44 +0000)
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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/tty/serial/men_z135_uart.c

index c9d18548783a480054b050f18d92e16724d62da8..6a011247b11d05263b0ce6f377138bd379999f80 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);