]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MIPS: Malta: Add back RTC support
authorTiejun Chen <tiejun.chen@windriver.com>
Tue, 25 Nov 2008 08:33:20 +0000 (16:33 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 4 Dec 2008 17:47:27 +0000 (17:47 +0000)
commit192cc7f0900a088e464635a59a63d974ee7a3e97
tree18b8c7f2104f18314e82f6cc186a7f68c7375bba
parente807f9574e37a3f202e677feaaad1b7c5d2c0db8
MIPS: Malta: Add back RTC support

With the conversion of MIPS to RTC_LIB the old RTC driver CONFIG_RTC became
unselectable.  Fix by setting up a platform device.  Also enable
RTC_CLASS so system time gets set from RTC on kernel initialization.

[Ralf: Original patch by Tiejun; polished nice and shiny by me]

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/configs/malta_defconfig
arch/mips/mti-malta/malta-platform.c