summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/max310x.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-04 15:34:18 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-14 22:49:42 (GMT)
commit1838b8c487378c6c576029d9e0e07b5a73036bac (patch)
tree02aa472e6763d33ead8e2fbb14b11a9278a2276f /drivers/tty/serial/max310x.c
parentc019bc119a97aa20372c5a2cf210d209380d397d (diff)
downloadlinux-1838b8c487378c6c576029d9e0e07b5a73036bac.tar.xz
tty: serial: max310x: Add terminating entry for spi_device_id table
The spi_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>
Diffstat (limited to 'drivers/tty/serial/max310x.c')
-rw-r--r--drivers/tty/serial/max310x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c
index 2bc28a5..1ab1d2c 100644
--- a/drivers/tty/serial/max310x.c
+++ b/drivers/tty/serial/max310x.c
@@ -1239,6 +1239,7 @@ static int __devexit max310x_remove(struct spi_device *spi)
static const struct spi_device_id max310x_id_table[] = {
{ "max3107", MAX310X_TYPE_MAX3107 },
{ "max3108", MAX310X_TYPE_MAX3108 },
+ { }
};
MODULE_DEVICE_TABLE(spi, max310x_id_table);