From: Hauke Mehrtens Date: Fri, 31 Jan 2020 12:40:10 +0000 (+0100) Subject: kernel: Make kmod-gpio-pca953x depend on kmod-regmap-i2c X-Git-Url: http://git.openwrt.org/source?a=commitdiff_plain;h=c86ede094c53230de05ee8640577d59bc97469ea;p=openwrt%2Fstaging%2Fjogo.git kernel: Make kmod-gpio-pca953x depend on kmod-regmap-i2c In kernel 5.4 kmod-gpio-pca953x depends on kmod-regmap-i2c. Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 16907a7336..5e3a035e38 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -248,7 +248,7 @@ $(eval $(call KernelPackage,gpio-nxp-74hc164)) define KernelPackage/gpio-pca953x SUBMENU:=$(OTHER_MENU) - DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +LINUX_5_4:kmod-regmap-i2c TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports KCONFIG:=CONFIG_GPIO_PCA953X FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko