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@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2025-07-20 21:48:36 +02:00
parent 810b86fb7d
commit 9f6a7bf3ea
1 changed files with 1 additions and 1 deletions

View File

@ -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)