Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1838b8c4 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c019bc11
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);