char/genrtc: x86: remove remnants of asm/rtc.h
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 May 2016 18:57:51 +0000 (20:57 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 3 Jun 2016 22:20:07 +0000 (00:20 +0200)
commit463a86304cae92e10277b47180ac59cf93982e5b
tree06db025f072518df97d2127a67dd921024d0838b
parent5ab788d7383289bfc141ab357767bc6c11bbf77f
char/genrtc: x86: remove remnants of asm/rtc.h

Commit 3195ef59cb42 ("x86: Do full rtc synchronization with ntp") had
the side-effect of unconditionally enabling the RTC_LIB symbol on x86,
which in turn disables the selection of the CONFIG_RTC and
CONFIG_GEN_RTC drivers that contain a two older implementations of
the CONFIG_RTC_DRV_CMOS driver.

This removes x86 from the list for genrtc, and changes all references
to the asm/rtc.h header to instead point to the interfaces
from linux/mc146818rtc.h.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/x86/include/asm/rtc.h [deleted file]
arch/x86/kernel/hpet.c
arch/x86/kernel/rtc.c
arch/x86/platform/efi/efi.c
drivers/acpi/acpi_cmos_rtc.c
drivers/base/power/trace.c
drivers/char/Kconfig
drivers/rtc/rtc-mrst.c