diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-04 16:34:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-14 23:49:42 +0100 |
commit | 1838b8c487378c6c576029d9e0e07b5a73036bac (patch) | |
tree | 02aa472e6763d33ead8e2fbb14b11a9278a2276f /drivers/tty/serial/max310x.c | |
parent | TTY: hvc_console, fix port reference count going to zero prematurely (diff) | |
download | linux-1838b8c487378c6c576029d9e0e07b5a73036bac.tar.xz linux-1838b8c487378c6c576029d9e0e07b5a73036bac.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index 2bc28a59d385..1ab1d2c66de4 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); |