diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-11-10 03:05:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-25 20:06:38 -0500 |
commit | 6b1f40cf4840820051d69646af0b6503878cb1bc (patch) | |
tree | 47c6ba94d4705bd3177861d52073d5b53a9319ad | |
parent | 52bec4ed4ef83f1a14dbcfd1a97e35f77c6e261e (diff) |
tty: serial: men_z135_uart: Add terminating entry for men_z135_ids
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>
-rw-r--r-- | drivers/tty/serial/men_z135_uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
809 | 809 | ||
810 | static const struct mcb_device_id men_z135_ids[] = { | 810 | static const struct mcb_device_id men_z135_ids[] = { |
811 | { .device = 0x87 }, | 811 | { .device = 0x87 }, |
812 | { } | ||
812 | }; | 813 | }; |
813 | MODULE_DEVICE_TABLE(mcb, men_z135_ids); | 814 | MODULE_DEVICE_TABLE(mcb, men_z135_ids); |
814 | 815 | ||