[openwrt/openwrt] kernel: kmod-pinctrl-mcp23s08: Depend on PINCTRL

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 25 16:47:38 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9f6a7bf3ea1336e9644040fb342430310dc23854

commit 9f6a7bf3ea1336e9644040fb342430310dc23854
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Jul 20 21:48:36 2025 +0200

    kernel: kmod-pinctrl-mcp23s08: Depend on PINCTRL
    
    The kernel driver configuration depends on PINCTRL.
    Show this driver only on targets supporting pinctrl.
    
    Link: https://github.com/openwrt/openwrt/pull/19480
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/other.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 42c7ab06e8..91ace8d428 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -220,7 +220,7 @@ define KernelPackage/pinctrl-mcp23s08
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Microchip MCP23xxx I/O expander
   HIDDEN:=1
-  DEPENDS:=@GPIO_SUPPORT +kmod-regmap-core
+  DEPENDS:=@GPIO_SUPPORT @PINCTRL_SUPPORT +kmod-regmap-core
   KCONFIG:=CONFIG_PINCTRL_MCP23S08
   FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko
   AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08)




More information about the lede-commits mailing list