Re: [PATCH 1/2] iio: adc: Add MAX1241 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/17/20 9:33 PM, Lars-Peter Clausen wrote:
On 3/17/20 9:17 PM, Alexandru Lazar wrote:
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 5d8540b7b427..3a55beec69c9 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -566,6 +566,18 @@ config MAX1118
        To compile this driver as a module, choose M here: the module will be
        called max1118.
+config MAX1241
+    tristate "Maxim max1241 ADC driver"
+    depends on SPI

depends on SPI_MASTER

There is also SPI_SLAVE support no in the kernel and just SPI does not imply SPI_MASTER.

Sorry, that is of course not true. SPI does imply SPI_MASTER. Still SPI_MASTER is the correct dependency here.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux