]> git.baikalelectronics.ru Git - kernel.git/commit
mn10300: use RTC_DRV_CMOS instead of CONFIG_RTC
authorArnd Bergmann <arnd@arndb.de>
Wed, 1 Jun 2016 14:46:22 +0000 (16:46 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 25 Jun 2016 23:20:08 +0000 (01:20 +0200)
commita1953eb268260d8fa07d423921055ff832306d6a
tree659aeb864b015fe061cafd8920b33b309c3e75c5
parent2db1bb93951499fac52dde0298cacf5450172ca9
mn10300: use RTC_DRV_CMOS instead of CONFIG_RTC

nn10300 has a dependency on mc146818_get_time/mc146818_set_time,
which we want to move from the mc146818rtc.h header into the
rtc subsystem, which in turn is not usable on mn10300.

This changes mn10300 to use the modern rtc-cmos driver instead
of the old RTC driver, and that in turn lets us completely
remove the read_persistent_clock/update_persistent_clock callbacks.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/mn10300/Kconfig
arch/mn10300/include/asm/rtc-regs.h
arch/mn10300/kernel/rtc.c
arch/mn10300/proc-mn103e010/proc-init.c
drivers/char/Kconfig
drivers/rtc/Kconfig
drivers/rtc/rtc-cmos.c