mirror of https://github.com/hak5/openwrt.git
kernel: kmod-rtc-pcf2127: Fix dependencies
Add missing dependencies to i2c-core and regmap-spi. These get activated
when these modules are build in this driver, which is the case when we
build all modules. This fixes the build on some targets. This was found
by the buildbot.
Fixes: 34e2526f9f
("kernel: add kmod-rtc-pcf2127")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
master
parent
c3ffb0e7d5
commit
9caa86fba5
|
@ -603,6 +603,7 @@ define KernelPackage/rtc-pcf2127
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=NXP PCF2127 and PCF2129 RTC support
|
TITLE:=NXP PCF2127 and PCF2129 RTC support
|
||||||
DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
|
DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
|
||||||
|
DEPENDS:=+kmod-i2c-core +kmod-regmap-spi
|
||||||
KCONFIG:=CONFIG_RTC_DRV_PCF2127 \
|
KCONFIG:=CONFIG_RTC_DRV_PCF2127 \
|
||||||
CONFIG_RTC_CLASS=y
|
CONFIG_RTC_CLASS=y
|
||||||
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2127.ko
|
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2127.ko
|
||||||
|
|
Loading…
Reference in New Issue