rtc: rtc-fake: add fake rtc driver

Change-Id: Ia06db4f5d967338c3f74fed9d35d2cd05209d746
Signed-off-by: Huang jianzhi <jesse.huang@rock-chips.com>
This commit is contained in:
Huang jianzhi
2018-05-28 16:00:10 +08:00
committed by Tao Huang
parent fd7e5ad076
commit 5863551f82
2 changed files with 7 additions and 0 deletions

View File

@@ -285,6 +285,12 @@ config RTC_DRV_DS1672
This driver can also be built as a module. If so, the module
will be called rtc-ds1672.
config RTC_DRV_FAKE
tristate "FAKE RTC"
help
This driver as a virtual rtc module, if so, the module
will be called "rtc-fake".
config RTC_DRV_HYM8563
tristate "Haoyu Microelectronics HYM8563"
depends on OF

View File

@@ -68,6 +68,7 @@ obj-$(CONFIG_RTC_DRV_DS3232) += rtc-ds3232.o
obj-$(CONFIG_RTC_DRV_EFI) += rtc-efi.o
obj-$(CONFIG_RTC_DRV_EM3027) += rtc-em3027.o
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o
obj-$(CONFIG_RTC_DRV_FAKE) += rtc-fake.o
obj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o
obj-$(CONFIG_RTC_DRV_FTRTC010) += rtc-ftrtc010.o
obj-$(CONFIG_RTC_DRV_GENERIC) += rtc-generic.o