]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
iio: adc: Move AD7091R5 entry in a alphabetical order in Makefile
authorBeniamin Bia <beniamin.bia@analog.com>
Tue, 3 Dec 2019 10:17:13 +0000 (12:17 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Dec 2019 11:42:16 +0000 (11:42 +0000)
Ad7091R5 was added in a non alphabetical order after AD7124 in Makefile and
KConfig. This patch fixes that and place Ad7091R5 before AD7124.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile

index 976567d4dbef20534936230eb19f101f15f9bfe0..27bb4e56eaeaba98391dfa56a80240e475459957 100644 (file)
@@ -21,6 +21,13 @@ config AD_SIGMA_DELTA
        select IIO_BUFFER
        select IIO_TRIGGERED_BUFFER
 
+config AD7091R5
+       tristate "Analog Devices AD7091R5 ADC Driver"
+       depends on I2C
+       select REGMAP_I2C
+       help
+         Say yes here to build support for Analog Devices AD7091R-5 ADC.
+
 config AD7124
        tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
        depends on SPI_MASTER
@@ -32,13 +39,6 @@ config AD7124
          To compile this driver as a module, choose M here: the module will be
          called ad7124.
 
-config AD7091R5
-       tristate "Analog Devices AD7091R5 ADC Driver"
-       depends on I2C
-       select REGMAP_I2C
-       help
-         Say yes here to build support for Analog Devices AD7091R-5 ADC.
-
 config AD7266
        tristate "Analog Devices AD7265/AD7266 ADC driver"
        depends on SPI_MASTER
index 84936ec24411be5a36a7a720874472c12d0fa2b6..bf8354cdbc347496a9dd55020ddee0c37c6b2664 100644 (file)
@@ -6,8 +6,8 @@
 # When adding new entries keep the list in alphabetical order
 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
-obj-$(CONFIG_AD7124) += ad7124.o
 obj-$(CONFIG_AD7091R5) += ad7091r5.o ad7091r-base.o
+obj-$(CONFIG_AD7124) += ad7124.o
 obj-$(CONFIG_AD7266) += ad7266.o
 obj-$(CONFIG_AD7291) += ad7291.o
 obj-$(CONFIG_AD7292) += ad7292.o