Re: [PATCH] pinctrl: sx150x: allow build when I2C is a module

From: Linus Walleij

Date: Tue Aug 04 2026 - 04:41:23 EST


On Fri, Jul 31, 2026 at 9:18 AM Tsz Shan Chan <tsz.chan.dev@xxxxxxxxx> wrote:

> PINCTRL_SX150X currently depends on I2C=y. This prevents the driver
> from being built when I2C is configured as module.
>
> Change the Kconfig dependency to just I2C so sx150x can be built as a
> module when I2C is also a module.
>
> Signed-off-by: Tsz Shan Chan <tchan@xxxxxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij