m68k: Hook up rtc-generic
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Thu, 19 Feb 2009 15:50:46 +0000 (16:50 +0100)
committerKyle McMartin <kyle@mcmartin.ca>
Thu, 2 Apr 2009 01:05:31 +0000 (01:05 +0000)
commit2ceb3ad705aa1abe6656b038bb9f4a6b1201cc35
tree2ba21ba2d78d98cc442958a429bd602319e650c8
parent3afe6d04626f8de87b15150a30b78df492ab68ee
m68k: Hook up rtc-generic

m68k has been a long time user of the generic RTC abstraction, so hook up
rtc-generic:
  - Create the "rtc-generic" platform device if mach_hwclk is set,
  - Add checks for mach_hwclk, in anticipation of RTC chip drivers being moved
    to drivers/rtc/.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/m68k/include/asm/rtc.h
arch/m68k/kernel/time.c
drivers/rtc/Kconfig