Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354215
b: refs/heads/master
c: c21ab70
h: refs/heads/master
i:
  354213: c1986b4
  354211: 6fcce22
  354207: bcdbc1c
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Jan 26, 2013
1 parent 9984d9c commit 800c45a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f45188c40432843825865582ace8d118f9ed407
refs/heads/master: c21ab7005140bdc5898907f73a5d73a86ea60a5d
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/gyro/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ config ADIS16080
tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
depends on SPI
help
Say yes here to build support for Analog Devices adis16080/100 Yaw Rate
Gyroscope with SPI.
Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw
Rate Gyroscope with SPI.

config ADIS16130
tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver"
Expand Down
9 changes: 8 additions & 1 deletion trunk/drivers/staging/iio/gyro/adis16080_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,24 @@ static int adis16080_remove(struct spi_device *spi)
return 0;
}

static const struct spi_device_id adis16080_ids[] = {
{ "adis16080", 0 },
{ "adis16100", 0 },
{},
};
MODULE_DEVICE_TABLE(spi, adis16080_ids);

static struct spi_driver adis16080_driver = {
.driver = {
.name = "adis16080",
.owner = THIS_MODULE,
},
.probe = adis16080_probe,
.remove = adis16080_remove,
.id_table = adis16080_ids,
};
module_spi_driver(adis16080_driver);

MODULE_AUTHOR("Barry Song <21cnbao@gmail.com>");
MODULE_DESCRIPTION("Analog Devices ADIS16080/100 Yaw Rate Gyroscope Driver");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("spi:adis16080");

0 comments on commit 800c45a

Please sign in to comment.