projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
810b86f
)
kernel: kmod-pinctrl-mcp23s08: Depend on PINCTRL
author
Hauke Mehrtens
<
[email protected]
>
Sun, 20 Jul 2025 19:48:36 +0000
(21:48 +0200)
committer
Hauke Mehrtens
<
[email protected]
>
Fri, 25 Jul 2025 23:11:20 +0000
(
01:11
+0200)
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 <
[email protected]
>
package/kernel/linux/modules/other.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/other.mk
b/package/kernel/linux/modules/other.mk
index 42c7ab06e878eec33d57adfe47440ff88e84ace2..91ace8d42821c2a81c0a5877c458dc94de0eafda 100644
(file)
--- 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)