* [PATCH] tty: serial: men_z135_uart: Add terminating entry for men_z135_ids
@ 2014-11-10 8:05 Axel Lin
0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2014-11-10 8:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby; +Cc: Johannes Thumshirn, linux-serial
The mcb_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/tty/serial/men_z135_uart.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c
index 30e9e60..517cd07 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)
static const struct mcb_device_id men_z135_ids[] = {
{ .device = 0x87 },
+ { }
};
MODULE_DEVICE_TABLE(mcb, men_z135_ids);
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-10 8:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10 8:05 [PATCH] tty: serial: men_z135_uart: Add terminating entry for men_z135_ids Axel Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox