From: Zoltan HERPAI Date: Tue, 20 Feb 2018 13:13:20 +0000 (+0100) Subject: modules: gpio-mcp23s08: fully depend on i2c-core X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5360441d8fef1357452ee5fdbb8742a2fc5b9726;p=openwrt%2Fstaging%2Fdangole.git modules: gpio-mcp23s08: fully depend on i2c-core Signed-off-by: Zoltan HERPAI --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 11b44f875c..4aee820c91 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 +PACKAGE_kmod-i2c-core:kmod-i2c-core + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core KCONFIG:=CONFIG_GPIO_MCP23S08 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)