projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4756a
)
staging: iio: adis16260 add id table support
author
Jonathan Cameron
<jic23@cam.ac.uk>
Mon, 22 Nov 2010 23:09:47 +0000
(23:09 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 29 Nov 2010 19:04:48 +0000
(11:04 -0800)
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/gyro/adis16260_core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/gyro/adis16260_core.c
b/drivers/staging/iio/gyro/adis16260_core.c
index 8190c0fe0bea7da41e2899e20b0ed20e1b3497bb..6f549030e3bbf7c31357df2cc71bec57c03a869b 100644
(file)
--- a/
drivers/staging/iio/gyro/adis16260_core.c
+++ b/
drivers/staging/iio/gyro/adis16260_core.c
@@
-635,6
+635,12
@@
err_ret:
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)