summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/Makefile
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2018-04-11 14:53:17 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-15 19:36:32 +0100
commit0357e488b825313db3d574137337557f404e59ed (patch)
tree5e56ffa73a95b4a7c46f779ad8b05c441d250085 /drivers/iio/dac/Makefile
parent98baf78e6dbee226e6490deafb0e5aca65b861ee (diff)
iio:dac:ad5686: Refactor the driver
In this patch restructures the existing ad5686 driver by adding a module for SPI and a header file, while the baseline module deals with the chip-logic. This is a necessary step, as this driver should support in the future similar devices which differ only in the type of interface used (I2C instead of SPI). Signed-off-by: Stefan Popa <stefan.popa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/Makefile')
-rw-r--r--drivers/iio/dac/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dac/Makefile b/drivers/iio/dac/Makefile
index 81e710ed7491..07db92e19490 100644
--- a/drivers/iio/dac/Makefile
+++ b/drivers/iio/dac/Makefile
@@ -20,6 +20,7 @@ obj-$(CONFIG_AD5761) += ad5761.o
obj-$(CONFIG_AD5764) += ad5764.o
obj-$(CONFIG_AD5791) += ad5791.o
obj-$(CONFIG_AD5686) += ad5686.o
+obj-$(CONFIG_AD5686_SPI) += ad5686-spi.o
obj-$(CONFIG_AD7303) += ad7303.o
obj-$(CONFIG_AD8801) += ad8801.o
obj-$(CONFIG_CIO_DAC) += cio-dac.o