diff options
-rw-r--r-- | drivers/iio/gyro/Kconfig | 7 | ||||
-rw-r--r-- | drivers/iio/gyro/Makefile | 1 | ||||
-rw-r--r-- | drivers/iio/gyro/adis16130.c (renamed from drivers/staging/iio/gyro/adis16130_core.c) | 1 | ||||
-rw-r--r-- | drivers/staging/iio/gyro/Kconfig | 7 | ||||
-rw-r--r-- | drivers/staging/iio/gyro/Makefile | 3 |
5 files changed, 8 insertions, 11 deletions
diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig index b8daf1b2ea06..8498e9dcda68 100644 --- a/drivers/iio/gyro/Kconfig +++ b/drivers/iio/gyro/Kconfig | |||
@@ -10,6 +10,13 @@ config ADIS16080 | |||
10 | Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw | 10 | Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw |
11 | Rate Gyroscope with SPI. | 11 | Rate Gyroscope with SPI. |
12 | 12 | ||
13 | config ADIS16130 | ||
14 | tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver" | ||
15 | depends on SPI | ||
16 | help | ||
17 | Say yes here to build support for Analog Devices ADIS16130 High Precision | ||
18 | Angular Rate Sensor driver. | ||
19 | |||
13 | config ADIS16136 | 20 | config ADIS16136 |
14 | tristate "Analog devices ADIS16136 and similar gyroscopes driver" | 21 | tristate "Analog devices ADIS16136 and similar gyroscopes driver" |
15 | depends on SPI_MASTER | 22 | depends on SPI_MASTER |
diff --git a/drivers/iio/gyro/Makefile b/drivers/iio/gyro/Makefile index 225d289082e6..e9dc034aa18b 100644 --- a/drivers/iio/gyro/Makefile +++ b/drivers/iio/gyro/Makefile | |||
@@ -3,6 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_ADIS16080) += adis16080.o | 5 | obj-$(CONFIG_ADIS16080) += adis16080.o |
6 | obj-$(CONFIG_ADIS16130) += adis16130.o | ||
6 | obj-$(CONFIG_ADIS16136) += adis16136.o | 7 | obj-$(CONFIG_ADIS16136) += adis16136.o |
7 | obj-$(CONFIG_ADXRS450) += adxrs450.o | 8 | obj-$(CONFIG_ADXRS450) += adxrs450.o |
8 | 9 | ||
diff --git a/drivers/staging/iio/gyro/adis16130_core.c b/drivers/iio/gyro/adis16130.c index 89794350be61..129acdf801a4 100644 --- a/drivers/staging/iio/gyro/adis16130_core.c +++ b/drivers/iio/gyro/adis16130.c | |||
@@ -183,7 +183,6 @@ error_ret: | |||
183 | return ret; | 183 | return ret; |
184 | } | 184 | } |
185 | 185 | ||
186 | /* fixme, confirm ordering in this function */ | ||
187 | static int adis16130_remove(struct spi_device *spi) | 186 | static int adis16130_remove(struct spi_device *spi) |
188 | { | 187 | { |
189 | iio_device_unregister(spi_get_drvdata(spi)); | 188 | iio_device_unregister(spi_get_drvdata(spi)); |
diff --git a/drivers/staging/iio/gyro/Kconfig b/drivers/staging/iio/gyro/Kconfig index 836066287192..b4333715536e 100644 --- a/drivers/staging/iio/gyro/Kconfig +++ b/drivers/staging/iio/gyro/Kconfig | |||
@@ -10,13 +10,6 @@ config ADIS16060 | |||
10 | Say yes here to build support for Analog Devices adis16060 wide bandwidth | 10 | Say yes here to build support for Analog Devices adis16060 wide bandwidth |
11 | yaw rate gyroscope with SPI. | 11 | yaw rate gyroscope with SPI. |
12 | 12 | ||
13 | config ADIS16130 | ||
14 | tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver" | ||
15 | depends on SPI | ||
16 | help | ||
17 | Say yes here to build support for Analog Devices ADIS16130 High Precision | ||
18 | Angular Rate Sensor driver. | ||
19 | |||
20 | config ADIS16260 | 13 | config ADIS16260 |
21 | tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver" | 14 | tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver" |
22 | depends on SPI | 15 | depends on SPI |
diff --git a/drivers/staging/iio/gyro/Makefile b/drivers/staging/iio/gyro/Makefile index 98e650061a3a..975f95b141da 100644 --- a/drivers/staging/iio/gyro/Makefile +++ b/drivers/staging/iio/gyro/Makefile | |||
@@ -5,8 +5,5 @@ | |||
5 | adis16060-y := adis16060_core.o | 5 | adis16060-y := adis16060_core.o |
6 | obj-$(CONFIG_ADIS16060) += adis16060.o | 6 | obj-$(CONFIG_ADIS16060) += adis16060.o |
7 | 7 | ||
8 | adis16130-y := adis16130_core.o | ||
9 | obj-$(CONFIG_ADIS16130) += adis16130.o | ||
10 | |||
11 | adis16260-y := adis16260_core.o | 8 | adis16260-y := adis16260_core.o |
12 | obj-$(CONFIG_ADIS16260) += adis16260.o | 9 | obj-$(CONFIG_ADIS16260) += adis16260.o |