linux-mips
[Top] [All Lists]

[PATCH v4 10/16] [loongson] rtc: enable legacy RTC driver on fulong

To: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH v4 10/16] [loongson] rtc: enable legacy RTC driver on fulong
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Thu, 2 Jul 2009 23:24:01 +0800
Cc: Wu Zhangjin <wuzj@lemote.com>, Yan Hua <yanh@lemote.com>, Philippe Vachon <philippe@cowpig.ca>, Zhang Le <r0bertz@gentoo.org>, Zhang Fuxin <zhangfx@lemote.com>, loongson-dev <loongson-dev@googlegroups.com>, Liu Junliang <liujl@lemote.com>, Erwan Lerale <erwan@thiscow.com>, Arnaud Patard <apatard@mandriva.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=4ZiNyqmByEwQyQEPN6TXIr0jo/9Tal2W4AVO8hGPkGE=; b=f5HW2VFlfSVJGMz5L272+vMPtSrqViiPDnKO/F/5d2YmicXHBavwygOZMxbCzV3dm2 7qzPy41a0o/ClN5OSPUA3kACCJWkPKw5Ul4jW3eY6znEvBzWIxHWDIvpUpU3hZ3S+9KD LHlc3uUp4esPNOjRry/G16O9No+PQUJUeo8ss=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=mg9CkSVZeZbk3A91MmHVYnKE+dKpwHv610CUUn7Ae5fJ91dfjCDINjWjzVrd//gVhI Ala8di2X4diqGQFnMoTNi+QulEMvtcs6tSTIi0D76WUZPDUOB+PQfs0Vbh1yKbirO3ky Z2XsCO/PKTiez7pb51Z7sIRqD8zSnZxDwk5G4=
In-reply-to: <cover.1246546684.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1246546684.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzj@lemote.com>

RTC_LIB is selected by MIPS by default, and therefore, the legacy RTC
driver is disabled. but fortunately, RTC_LIB not works on fulong, so,
enabling the legcy RTC driver is needed, otherwise, the tools like
hwclock will not work.

Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
---
 arch/mips/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 3ca0fe1..a383dac 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -6,7 +6,7 @@ config MIPS
        select HAVE_ARCH_KGDB
        # Horrible source of confusion.  Die, die, die ...
        select EMBEDDED
-       select RTC_LIB
+       select RTC_LIB if !LEMOTE_FULONG
 
 mainmenu "Linux/MIPS Kernel Configuration"
 
-- 
1.6.2.1


<Prev in Thread] Current Thread [Next in Thread>