mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
kernel: kmod-gpio-mcp23s08 depends on i2c-core
But only if it is selected, so make it a conditionl dependency. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37420
This commit is contained in:
parent
5e239a0fa4
commit
fe1a84ad71
@ -135,7 +135,7 @@ $(eval $(call KernelPackage,gpio-dev))
|
||||
define KernelPackage/gpio-mcp23s08
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Microchip MCP23xxx I/O expander
|
||||
DEPENDS:=@GPIO_SUPPORT
|
||||
DEPENDS:=@GPIO_SUPPORT +PACKAGE_kmod-i2c-core:kmod-i2c-core
|
||||
KCONFIG:=CONFIG_GPIO_MCP23S08
|
||||
FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
|
||||
AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
|
||||
|
Loading…
x
Reference in New Issue
Block a user