Skip to content

Commit

Permalink
tty: serial: men_z135_uart: Add terminating entry for men_z135_ids
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Nov 26, 2014
1 parent 52bec4e commit 6b1f40c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/serial/men_z135_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6b1f40c

Please sign in to comment.