Browse Source

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 <[email protected]>
Hauke Mehrtens 6 years ago
parent
commit
c86ede094c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/kernel/linux/modules/other.mk

+ 1 - 1
package/kernel/linux/modules/other.mk

@@ -248,7 +248,7 @@ $(eval $(call KernelPackage,gpio-nxp-74hc164))
 
 
 define KernelPackage/gpio-pca953x
 define KernelPackage/gpio-pca953x
   SUBMENU:=$(OTHER_MENU)
   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
   TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
   KCONFIG:=CONFIG_GPIO_PCA953X
   KCONFIG:=CONFIG_GPIO_PCA953X
   FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
   FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko