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

Commit a9672951 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman
Browse files

staging: iio: adis16260 add id table support

parent 2b4756aa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -635,6 +635,12 @@ static int adis16260_remove(struct spi_device *spi)
	return ret;
}

static const struct spi_device_id adis16260_id[] = {
	{"adis16260", 0},
	{"adis16265", 0},
	{}
};

static struct spi_driver adis16260_driver = {
	.driver = {
		.name = "adis16260",
@@ -642,6 +648,7 @@ static struct spi_driver adis16260_driver = {
	},
	.probe = adis16260_probe,
	.remove = __devexit_p(adis16260_remove),
	.id_table = adis16260_id,
};

static __init int adis16260_init(void)