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

staging: iio: adis16260 add id table support

Signed-off-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2b4756aa
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment