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

Linus Walleij <[email protected]> Tue, 4 Aug 2026 09:44:02 +0200
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel
Message-ID <CAD++jLk-9Nv=N_CxMKqc_sqteW5+g99vkiO2YrMRLmULom5RWw@mail.gmail.com>
On Fri, Jul 31, 2026 at 9:18=E2=80=AFAM Tsz Shan Chan <[email protected]=
om> wrote:

> PINCTRL_SX150X currently depends on I2C=3Dy. 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 <[email protected]>

Patch applied!

Yours,
Linus Walleij