aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Makefile
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-01-23 09:14:09 +0100
committerArd Biesheuvel <ardb@kernel.org>2020-02-23 21:59:42 +0100
commite5c3b1cc99451d97ed3b94aff09817c66c040399 (patch)
tree0e283eb68071bfcdb8f23f46cee9585126765707 /drivers/rtc/Makefile
parentbf67fad19e493bd3f7267b35b97b860280f87acc (diff)
downloadlinux-e5c3b1cc99451d97ed3b94aff09817c66c040399.tar.gz
efi: Register EFI rtc platform device only when available
Drop the separate driver that registers the EFI rtc on all EFI systems that have runtime services available, and instead, move the registration into the core EFI code, and make it conditional on whether the actual time related services are available. Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/rtc/Makefile')
-rw-r--r--drivers/rtc/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
index 4ac8f19fb6314..24c7dfa1bd7df 100644
--- a/drivers/rtc/Makefile
+++ b/drivers/rtc/Makefile
@@ -12,10 +12,6 @@ obj-$(CONFIG_RTC_CLASS) += rtc-core.o
obj-$(CONFIG_RTC_MC146818_LIB) += rtc-mc146818-lib.o
rtc-core-y := class.o interface.o
-ifdef CONFIG_RTC_DRV_EFI
-rtc-core-y += rtc-efi-platform.o
-endif
-
rtc-core-$(CONFIG_RTC_NVMEM) += nvmem.o
rtc-core-$(CONFIG_RTC_INTF_DEV) += dev.o
rtc-core-$(CONFIG_RTC_INTF_PROC) += proc.o