mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-03 04:26:55 +00:00
kernel: Add missing dependency to kmod-regmap
Like on kernel 4.14 some kernel modules depend now on regmap. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
7eabe0e433
commit
31abe08331
@ -172,7 +172,7 @@ define KernelPackage/eeprom-at24
|
|||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=EEPROM AT24 support
|
TITLE:=EEPROM AT24 support
|
||||||
KCONFIG:=CONFIG_EEPROM_AT24
|
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
|
FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,at24)
|
AUTOLOAD:=$(call AutoProbe,at24)
|
||||||
endef
|
endef
|
||||||
@ -219,7 +219,7 @@ $(eval $(call KernelPackage,gpio-dev))
|
|||||||
define KernelPackage/gpio-mcp23s08
|
define KernelPackage/gpio-mcp23s08
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=Microchip MCP23xxx I/O expander
|
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:= \
|
KCONFIG:= \
|
||||||
CONFIG_GPIO_MCP23S08 \
|
CONFIG_GPIO_MCP23S08 \
|
||||||
CONFIG_PINCTRL_MCP23S08
|
CONFIG_PINCTRL_MCP23S08
|
||||||
|
Loading…
Reference in New Issue
Block a user