summaryrefslogtreecommitdiff
path: root/arch/sh/configs
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-24 15:04:31 +0100
committerArnd Bergmann <arnd@arndb.de>2018-12-18 16:13:04 +0100
commitb0495e4b67b230cdb8a7ba244cd260e529c53b84 (patch)
tree9ba823e12943afe0780107b795e445c2631c86ec /arch/sh/configs
parent2367c4b5fa09b2947d03c5cd23d7bc0200b7fe4f (diff)
sh: dreamcast: rtc: push down rtc class ops into driver
The SH RTC support has an extra level of indirection to provide either the old read_persistent_clock/update_persistent_clock interface or the rtc-generic device for hctosys/systohc. Both do the same thing for dreamcast, so we can do away with the abstraction and simply let the RTC core code to take care of it. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/sh/configs')
-rw-r--r--arch/sh/configs/dreamcast_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/configs/dreamcast_defconfig b/arch/sh/configs/dreamcast_defconfig
index 3f08dc54480b..1d27666c029f 100644
--- a/arch/sh/configs/dreamcast_defconfig
+++ b/arch/sh/configs/dreamcast_defconfig
@@ -70,3 +70,5 @@ CONFIG_PROC_KCORE=y
CONFIG_TMPFS=y
CONFIG_HUGETLBFS=y
# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_GENERIC=y