aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Makefile
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2019-12-09 21:32:47 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-12-15 12:15:19 +0000
commit69548b7c2c4f1ab9a135f2050d9683c7691ef701 (patch)
treec83de32264295519fc11134aeebd8e81b1ca350c /drivers/iio/adc/Makefile
parentiio: adc: ltc2496: provide device tree binding document (diff)
downloadlinux-dev-69548b7c2c4f1ab9a135f2050d9683c7691ef701.tar.xz
linux-dev-69548b7c2c4f1ab9a135f2050d9683c7691ef701.zip
iio: adc: ltc2497: split protocol independent part in a separate module
This allows to share most of this driver for the ltc2496 driver added in the next commit that is an SPI variant of the ltc2497. Initially I named the generic part ltc249x, but wild card names are frowned upon, so the generic part is called ltc2497-core even though it's not obvious that this is then to be reused for the ltc2496 driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/Makefile')
-rw-r--r--drivers/iio/adc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile
index bf8354cdbc34..5f8d7ac6bbe2 100644
--- a/drivers/iio/adc/Makefile
+++ b/drivers/iio/adc/Makefile
@@ -51,7 +51,7 @@ obj-$(CONFIG_LPC18XX_ADC) += lpc18xx_adc.o
obj-$(CONFIG_LPC32XX_ADC) += lpc32xx_adc.o
obj-$(CONFIG_LTC2471) += ltc2471.o
obj-$(CONFIG_LTC2485) += ltc2485.o
-obj-$(CONFIG_LTC2497) += ltc2497.o
+obj-$(CONFIG_LTC2497) += ltc2497.o ltc2497-core.o
obj-$(CONFIG_MAX1027) += max1027.o
obj-$(CONFIG_MAX11100) += max11100.o
obj-$(CONFIG_MAX1118) += max1118.o