Browse Source

kernel: Make kmod-rtc-pcf2123 depend on kmod-regmap-spi

In kernel 5.4 kmod-rtc-pcf2123 depends on kmod-regmap-spi, add this missing
dependency.

Signed-off-by: Koen Vandeputte <[email protected]>
Koen Vandeputte 6 years ago
parent
commit
cc34b55b77
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/kernel/linux/modules/other.mk

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

@@ -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