On Mon, Jan 10, 2022 at 9:30 AM Nikita Yushchenko <nikita.yoush@xxxxxxxxxxxxxxxxxx> wrote: > > This patch makes I2C and SPI interface drivers for STMicroelectronics > sensor chips individually selectable via Kconfig. > > The default is kept unchanged - I2C and SPI interface drivers are still > selected by default if the corresponding bus support is available. > > However, the patch makes it is possible to explicitly disable drivers it possible > that are not needed for particular target. a particular ... > config IIO_ST_LSM9DS0_I2C > + tristate "STMicroelectronics LSM9DS0 IMU I2C interface" > + depends on I2C && IIO_ST_LSM9DS0 > + default I2C && IIO_ST_LSM9DS0 Have you tested this for the case I2C=y IIO_ST_LSM9DS0=m So, what is the result? -- With Best Regards, Andy Shevchenko