[RFC PATCH 3/5] iio: adc: Makefile: add compile support for TI ADS1262 driver

Sayyad Abid
2025-05-01T10:01:54Z

This ensures the driver object file (`ti-ads1262.o`) is built and
linked into the kernel when the corresponding Kconfig option
(`CONFIG_TI_ADS1262`) is enabled.

Signed-off-by: Sayyad Abid <sayyad.abid16@gmail.com>
---
drivers/iio/adc/Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile
index 3e918c3eec69..14192944c225 100644
--- a/drivers/iio/adc/Makefile
+++ b/drivers/iio/adc/Makefile
@@ -134,6 +134,7 @@ obj-$(CONFIG_TI_ADS1015) += ti-ads1015.o
obj-$(CONFIG_TI_ADS1100) += ti-ads1100.o
obj-$(CONFIG_TI_ADS1119) += ti-ads1119.o
obj-$(CONFIG_TI_ADS124S08) += ti-ads124s08.o
+obj-$(CONFIG_TI_ADS1262) += ti-ads1262.o
obj-$(CONFIG_TI_ADS1298) += ti-ads1298.o
obj-$(CONFIG_TI_ADS131E08) += ti-ads131e08.o
obj-$(CONFIG_TI_ADS7138) += ti-ads7138.o
--
2.39.5