aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-dreamcast/Makefile
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/boards/mach-dreamcast/Makefile
parenty2038: signal: Add compat_sys_rt_sigtimedwait_time64 (diff)
downloadlinux-dev-b0495e4b67b230cdb8a7ba244cd260e529c53b84.tar.xz
linux-dev-b0495e4b67b230cdb8a7ba244cd260e529c53b84.zip
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/boards/mach-dreamcast/Makefile')
-rw-r--r--arch/sh/boards/mach-dreamcast/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-dreamcast/Makefile b/arch/sh/boards/mach-dreamcast/Makefile
index 7b97546c7e5f..62b024bc2a3e 100644
--- a/arch/sh/boards/mach-dreamcast/Makefile
+++ b/arch/sh/boards/mach-dreamcast/Makefile
@@ -2,5 +2,5 @@
# Makefile for the Sega Dreamcast specific parts of the kernel
#
-obj-y := setup.o irq.o rtc.o
-
+obj-y := setup.o irq.o
+obj-$(CONFIG_RTC_DRV_GENERIC) += rtc.o