Преглед изворни кода

kernel: fix kmod-rtc-pcf8563 dependencies

Signed-off-by: Hauke Mehrtens <[email protected]>

SVN-Revision: 37459
Hauke Mehrtens пре 12 година
родитељ
комит
251b414641
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      package/kernel/linux/modules/001-depends.mk
  2. 1 1
      package/kernel/linux/modules/other.mk

+ 1 - 1
package/kernel/linux/modules/001-depends.mk

@@ -33,5 +33,5 @@ endef
 
 
 define AddDepends/rtc
-  DEPENDS+= @RTC_SUPPORT
+  DEPENDS+= @RTC_SUPPORT $(1)
 endef

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

@@ -439,7 +439,7 @@ $(eval $(call KernelPackage,rtc-marvell))
 define KernelPackage/rtc-pcf8563
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Philips PCF8563/Epson RTC8564 RTC support
-  $(call AddDepends/rtc)
+  $(call AddDepends/rtc,+kmod-i2c-core)
   KCONFIG:=CONFIG_RTC_DRV_PCF8563
   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
   AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)