[PATCH] iio: temperature: Build mlx90635 with CONFIG_MLX90635
From: Pengpeng Hou
Date: Wed Jun 24 2026 - 04:13:27 EST
drivers/iio/temperature/Kconfig has a dedicated `MLX90635` option, but
the Makefile currently builds mlx90635.o under `CONFIG_MLX90632`.
This means enabling `CONFIG_MLX90635` alone does not carry its provider
object into the build, while enabling `CONFIG_MLX90632` unexpectedly
also builds mlx90635.o.
Gate mlx90635.o on the matching generated Kconfig symbol.
Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
---
drivers/iio/temperature/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/temperature/Makefile b/drivers/iio/temperature/Makefile
--- a/drivers/iio/temperature/Makefile
+++ b/drivers/iio/temperature/Makefile
@@ -13,7 +13,7 @@ obj-$(CONFIG_MAX31856) += max31856.o
obj-$(CONFIG_MAX31865) += max31865.o
obj-$(CONFIG_MCP9600) += mcp9600.o
obj-$(CONFIG_MLX90614) += mlx90614.o
obj-$(CONFIG_MLX90632) += mlx90632.o
-obj-$(CONFIG_MLX90632) += mlx90635.o
+obj-$(CONFIG_MLX90635) += mlx90635.o
obj-$(CONFIG_TMP006) += tmp006.o
obj-$(CONFIG_TMP007) += tmp007.o
obj-$(CONFIG_TMP117) += tmp117.o