mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
c019bc119a
commit
1838b8c487
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue