aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2018-08-24 11:35:35 +0200
committerJo-Philipp Wich <jo@mein.io>2018-12-18 11:28:12 +0100
commit8ec7ad033efd68b609591cca0584772d95f78d8e (patch)
tree4dda9d2cf608d6e3cf6df90a232808fc418a2a46 /package/kernel
parent741f03b8b7c4aa3b83ad2752036fe41edde29266 (diff)
downloadupstream-8ec7ad033efd68b609591cca0584772d95f78d8e.tar.gz
upstream-8ec7ad033efd68b609591cca0584772d95f78d8e.tar.bz2
upstream-8ec7ad033efd68b609591cca0584772d95f78d8e.zip
kernel: fix kmod-gpio-mcp23s08 for linux 4.14
Signed-off-by: Martin Schiller <ms@dev.tdt.de> (backported from a904003b9b5fe2744ee5d5d8718c54d001f1c93e)
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/other.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index eb26a8ba08..9c3d54ebd8 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -228,9 +228,13 @@ define KernelPackage/gpio-mcp23s08
SUBMENU:=$(OTHER_MENU)
TITLE:=Microchip MCP23xxx I/O expander
DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
- KCONFIG:=CONFIG_GPIO_MCP23S08
- FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
- AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
+ KCONFIG:= \
+ CONFIG_GPIO_MCP23S08 \
+ CONFIG_PINCTRL_MCP23S08
+ FILES:= \
+ $(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko@lt4.13 \
+ $(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko@ge4.13
+ AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08@lt4.13 pinctrl-mcp23s08@ge4.13)
endef
define KernelPackage/gpio-mcp23s08/description