From: Hauke Mehrtens Date: Sat, 25 Aug 2018 16:11:03 +0000 (+0200) Subject: kernel: add missing dependency to regmap to kmod-gpio-mcp23s08 X-Git-Tag: v18.06.2~119 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1a3c129967e02671b94905f243b3c0b09fab86aa;p=openwrt%2Fstaging%2Fchunkeey.git kernel: add missing dependency to regmap to kmod-gpio-mcp23s08 This fixes a build problem recently introduced. Fixes: a904003b9b5f ("kernel: fix kmod-gpio-mcp23s08 for linux 4.14") Signed-off-by: Hauke Mehrtens (backported from e882e63f1e1169030389b304489ab8a7d785df33) --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 9c3d54ebd8..ecf222ac13 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -227,7 +227,7 @@ $(eval $(call KernelPackage,gpio-dev)) define KernelPackage/gpio-mcp23s08 SUBMENU:=$(OTHER_MENU) TITLE:=Microchip MCP23xxx I/O expander - DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +LINUX_4_14:kmod-regmap KCONFIG:= \ CONFIG_GPIO_MCP23S08 \ CONFIG_PINCTRL_MCP23S08