diff options
-rw-r--r-- | drivers/iio/adc/Kconfig | 14 | ||||
-rw-r--r-- | drivers/iio/adc/Makefile | 1 | ||||
-rw-r--r-- | drivers/iio/adc/ad7476.c (renamed from drivers/staging/iio/adc/ad7476.c) | 0 | ||||
-rw-r--r-- | drivers/staging/iio/adc/Kconfig | 14 | ||||
-rw-r--r-- | drivers/staging/iio/adc/Makefile | 2 |
5 files changed, 15 insertions, 16 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index d0ae71ec2aa0..f98c493efff8 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig | |||
@@ -30,6 +30,20 @@ config AD7791 | |||
30 | To compile this driver as a module, choose M here: the module will be | 30 | To compile this driver as a module, choose M here: the module will be |
31 | called ad7791. | 31 | called ad7791. |
32 | 32 | ||
33 | config AD7476 | ||
34 | tristate "Analog Devices AD7475/6/7/8 AD7466/7/8 and AD7495 ADC driver" | ||
35 | depends on SPI | ||
36 | select IIO_BUFFER | ||
37 | select IIO_TRIGGERED_BUFFER | ||
38 | help | ||
39 | Say yes here to build support for Analog Devices | ||
40 | AD7475, AD7476, AD7477, AD7478, AD7466, AD7467, AD7468, AD7495 | ||
41 | SPI analog to digital converters (ADC). | ||
42 | If unsure, say N (but it's safe to say "Y"). | ||
43 | |||
44 | To compile this driver as a module, choose M here: the | ||
45 | module will be called ad7476. | ||
46 | |||
33 | config AT91_ADC | 47 | config AT91_ADC |
34 | tristate "Atmel AT91 ADC" | 48 | tristate "Atmel AT91 ADC" |
35 | depends on ARCH_AT91 | 49 | depends on ARCH_AT91 |
diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile index f187ff6c2a16..9824a70f4fd8 100644 --- a/drivers/iio/adc/Makefile +++ b/drivers/iio/adc/Makefile | |||
@@ -4,5 +4,6 @@ | |||
4 | 4 | ||
5 | obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o | 5 | obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o |
6 | obj-$(CONFIG_AD7266) += ad7266.o | 6 | obj-$(CONFIG_AD7266) += ad7266.o |
7 | obj-$(CONFIG_AD7476) += ad7476.o | ||
7 | obj-$(CONFIG_AD7791) += ad7791.o | 8 | obj-$(CONFIG_AD7791) += ad7791.o |
8 | obj-$(CONFIG_AT91_ADC) += at91_adc.o | 9 | obj-$(CONFIG_AT91_ADC) += at91_adc.o |
diff --git a/drivers/staging/iio/adc/ad7476.c b/drivers/iio/adc/ad7476.c index a33a4066ebe2..a33a4066ebe2 100644 --- a/drivers/staging/iio/adc/ad7476.c +++ b/drivers/iio/adc/ad7476.c | |||
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig index a1fa1729acbe..1b4a356639a5 100644 --- a/drivers/staging/iio/adc/Kconfig +++ b/drivers/staging/iio/adc/Kconfig | |||
@@ -68,20 +68,6 @@ config AD799X_RING_BUFFER | |||
68 | Say yes here to include ring buffer support in the AD799X | 68 | Say yes here to include ring buffer support in the AD799X |
69 | ADC driver. | 69 | ADC driver. |
70 | 70 | ||
71 | config AD7476 | ||
72 | tristate "Analog Devices AD7475/6/7/8 AD7466/7/8 and AD7495 ADC driver" | ||
73 | depends on SPI | ||
74 | select IIO_BUFFER | ||
75 | select IIO_TRIGGERED_BUFFER | ||
76 | help | ||
77 | Say yes here to build support for Analog Devices | ||
78 | AD7475, AD7476, AD7477, AD7478, AD7466, AD7467, AD7468, AD7495 | ||
79 | SPI analog to digital converters (ADC). | ||
80 | If unsure, say N (but it's safe to say "Y"). | ||
81 | |||
82 | To compile this driver as a module, choose M here: the | ||
83 | module will be called ad7476. | ||
84 | |||
85 | config AD7887 | 71 | config AD7887 |
86 | tristate "Analog Devices AD7887 ADC driver" | 72 | tristate "Analog Devices AD7887 ADC driver" |
87 | depends on SPI | 73 | depends on SPI |
diff --git a/drivers/staging/iio/adc/Makefile b/drivers/staging/iio/adc/Makefile index 6b60af038616..62ee02e80cf9 100644 --- a/drivers/staging/iio/adc/Makefile +++ b/drivers/staging/iio/adc/Makefile | |||
@@ -17,8 +17,6 @@ ad799x-y := ad799x_core.o | |||
17 | ad799x-$(CONFIG_AD799X_RING_BUFFER) += ad799x_ring.o | 17 | ad799x-$(CONFIG_AD799X_RING_BUFFER) += ad799x_ring.o |
18 | obj-$(CONFIG_AD799X) += ad799x.o | 18 | obj-$(CONFIG_AD799X) += ad799x.o |
19 | 19 | ||
20 | obj-$(CONFIG_AD7476) += ad7476.o | ||
21 | |||
22 | ad7887-y := ad7887_core.o | 20 | ad7887-y := ad7887_core.o |
23 | ad7887-$(CONFIG_IIO_BUFFER) += ad7887_ring.o | 21 | ad7887-$(CONFIG_IIO_BUFFER) += ad7887_ring.o |
24 | obj-$(CONFIG_AD7887) += ad7887.o | 22 | obj-$(CONFIG_AD7887) += ad7887.o |