From: Tsz Shan Chan <tsz.chan.dev@gmail.com>
To: linusw@kernel.org
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
Tsz Shan Chan <tchan@jacques.com.au>
Subject: [PATCH] pinctrl: sx150x: allow build when I2C is a module
Date: Fri, 31 Jul 2026 17:18:45 +1000 [thread overview]
Message-ID: <20260731071845.175120-1-tchan@jacques.com.au> (raw)
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@jacques.com.au>
---
drivers/pinctrl/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index eda54aa5fde6..ab09cb41500b 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -575,7 +575,7 @@ config PINCTRL_STMFX
config PINCTRL_SX150X
tristate "Semtech SX150x I2C GPIO expander pinctrl driver"
- depends on I2C=y
+ depends on I2C
select PINMUX
select PINCONF
select GENERIC_PINCONF
--
2.55.0
reply other threads:[~2026-07-31 7:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260731071845.175120-1-tchan@jacques.com.au \
--to=tsz.chan.dev@gmail.com \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tchan@jacques.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox