Skip to contentSkip to conversation

tty: serial: men_z135_uart: Add terminating entry for men_z135_ids

PATCH New Axel Lin 1 participant 1 message Nov 10, 2014 TTY layer and serial drivers

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 tty: serial: men_z135_uart: Add terminating entry for men_z135_ids

The mcb_device_id table is supposed to be zero-terminated.

---
 drivers/tty/serial/men_z135_uart.c | 1 +
 1 file changed, 1 insertion(+)
drivers/tty/serial/men_z135_uart.c +1 -0
index 30e9e60..517cd07 100644
@@ -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);
 
Signature · 1 line
1.9.1