From: Hauke Mehrtens Date: Mon, 26 Nov 2018 23:17:47 +0000 (+0100) Subject: kernel: Add missing dependency to kmod-regmap X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=31abe083311e03d767854ffaf53158afa7097025;p=openwrt%2Fstaging%2Fblocktrron.git kernel: Add missing dependency to kmod-regmap Like on kernel 4.14 some kernel modules depend now on regmap. Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 2fdb704556..c521405040 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -172,7 +172,7 @@ define KernelPackage/eeprom-at24 SUBMENU:=$(OTHER_MENU) TITLE:=EEPROM AT24 support KCONFIG:=CONFIG_EEPROM_AT24 - DEPENDS:=+kmod-i2c-core +kmod-nvmem + DEPENDS:=+kmod-i2c-core +kmod-nvmem +LINUX_4_19:kmod-regmap FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko AUTOLOAD:=$(call AutoProbe,at24) endef @@ -219,7 +219,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 +LINUX_4_14:kmod-regmap + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +!(LINUX_3_18||LINUX_4_9):kmod-regmap KCONFIG:= \ CONFIG_GPIO_MCP23S08 \ CONFIG_PINCTRL_MCP23S08