projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c019bc1
)
tty: serial: max310x: Add terminating entry for spi_device_id table
author
Axel Lin
<axel.lin@ingics.com>
Sun, 4 Nov 2012 15:34:18 +0000
(23:34 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 14 Nov 2012 22:49:42 +0000
(14:49 -0800)
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>
drivers/tty/serial/max310x.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/max310x.c
b/drivers/tty/serial/max310x.c
index
2bc28a5
..
1ab1d2c
100644
(file)
--- 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);