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

Linus Walleij <[email protected]>
Newsgroups gmane.linux.kernel.gpio,gmane.linux.kernel
Message-ID <CAD++jLk-9Nv=N_CxMKqc_sqteW5+g99vkiO2YrMRLmULom5RWw@mail.gmail.com>
On Fri, Jul 31, 2026 at 9:18 AM Tsz Shan Chan <[email protected]> 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 <[email protected]>

Patch applied!

Yours,
Linus Walleij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.