Re: [PATCH] iio: temperature: Build mlx90635 with CONFIG_MLX90635

From: Andy Shevchenko

Date: Wed Jun 24 2026 - 07:41:45 EST


On Wed, Jun 24, 2026 at 04:13:09PM +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.

Good catch! Does it need a Fixes tag? I haven't checked if this is in
Jonathan's testing or togreg branch. If the latter, the Fixes tag is
a must.

--
With Best Regards,
Andy Shevchenko