kernel: Make kmod-rtc-pcf2123 depend on kmod-regmap-spi
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Fri, 28 Feb 2020 14:09:27 +0000 (15:09 +0100)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Fri, 28 Feb 2020 16:50:46 +0000 (17:50 +0100)
In kernel 5.4 kmod-rtc-pcf2123 depends on kmod-regmap-spi, add this missing
dependency.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
package/kernel/linux/modules/other.mk

index 5e3a035e3870e86fc3d300212a87e24080e4cddc..7e8301f27852469db253bea7943e7439bb1fbaa7 100644 (file)
@@ -582,6 +582,7 @@ define KernelPackage/rtc-pcf2123
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Philips PCF2123 RTC support
   DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
+  DEPENDS:=+LINUX_5_4:kmod-regmap-spi
   KCONFIG:=CONFIG_RTC_DRV_PCF2123 \
        CONFIG_RTC_CLASS=y
   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko