Re: [PATCH v2] iio: temperature: Build mlx90635 with CONFIG_MLX90635
From: Andy Shevchenko
Date: Thu Jun 25 2026 - 02:43:26 EST
On Thu, Jun 25, 2026 at 01:42:59PM +0800, Pengpeng Hou wrote:
> 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.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko