diff options
| author | Hauke Mehrtens | 2025-07-20 19:48:36 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-07-25 23:11:20 +0000 |
| commit | 9f6a7bf3ea1336e9644040fb342430310dc23854 (patch) | |
| tree | b49f81395e029cd5371115e8fb9262dd54b25f1e | |
| parent | 810b86fb7d15a48552bda95c03c83df75d57a209 (diff) | |
| download | openwrt-9f6a7bf3ea1336e9644040fb342430310dc23854.tar.gz | |
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>
| -rw-r--r-- | package/kernel/linux/modules/other.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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) |