MIPS: Loongson: Define rtc device on MC146818-equipped systems
authorArnaud Patard <apatard@mandriva.com>
Tue, 1 Jun 2010 22:39:54 +0000 (00:39 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jul 2010 16:17:32 +0000 (17:17 +0100)
commit5df74352876c0835d2b41b53858c9ee779e0f12f
tree5c6dded0090a897483a286c48b178f8df6049fbd
parent17c04139fd2aeaef30fda380bb91b32de7b41a8f
MIPS: Loongson: Define rtc device on MC146818-equipped systems

This patch declare the rtc device present on systems with clock compatible
with the mc146818 and handled by rtc-cmos.  Introduce a new Kconfig entry
because there are some systems without rtc_cmos compatible clock.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
To: linux-mips@linux-mips.org
Cc: aba@not.so.argh.org
Patchwork: http://patchwork.linux-mips.org/patch/1320/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/Kconfig
arch/mips/loongson/common/Makefile
arch/mips/loongson/common/rtc.c [new file with mode: 0644]