From patchwork Fri Nov 13 16:12:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: miguel.aguilar@ridgerun.com X-Patchwork-Id: 59864 Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nADGFU1X010748 for ; Fri, 13 Nov 2009 16:15:30 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id nADGDVGQ028150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Nov 2009 10:13:32 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id nADGDVpC009786; Fri, 13 Nov 2009 10:13:31 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 95FA580627; Fri, 13 Nov 2009 10:13:30 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id B2F1480626 for ; Fri, 13 Nov 2009 10:13:28 -0600 (CST) Received: from red.ext.ti.com (localhost [127.0.0.1]) by dflp51.itg.ti.com (8.13.7/8.13.7) with ESMTP id nADGDSQO024265 for ; Fri, 13 Nov 2009 10:13:28 -0600 (CST) Received: from mail146-tx2-R.bigfish.com (mail-tx2.bigfish.com [65.55.88.113]) by red.ext.ti.com (8.13.7/8.13.7) with ESMTP id nADGDRPm003970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 13 Nov 2009 10:13:28 -0600 Received: from mail146-tx2 (localhost.localdomain [127.0.0.1]) by mail146-tx2-R.bigfish.com (Postfix) with ESMTP id 4C16512B859B for ; Fri, 13 Nov 2009 16:13:27 +0000 (UTC) X-SpamScore: 0 X-BigFish: vps0(zzzz1202hzzz2fh6bh63h) X-Spam-TCS-SCL: 2:0 X-MS-Exchange-Organization-Antispam-Report: OrigIP: 74.208.67.6; Service: EHS Received: from mail146-tx2 (localhost.localdomain [127.0.0.1]) by mail146-tx2 (MessageSwitch) id 1258128782338151_8685; Fri, 13 Nov 2009 16:13:02 +0000 (UTC) Received: from TX2EHSMHS020.bigfish.com (unknown [10.9.14.251]) by mail146-tx2.bigfish.com (Postfix) with ESMTP id CE8B598055; Fri, 13 Nov 2009 16:12:57 +0000 (UTC) Received: from mail.navvo.net (74.208.67.6) by TX2EHSMHS020.bigfish.com (10.9.99.120) with Microsoft SMTP Server (TLS) id 14.0.482.32; Fri, 13 Nov 2009 16:12:57 +0000 Received: from [201.198.127.70] (helo=localhost.localdomain) by mail.navvo.net with esmtpa (Exim 4.63) (envelope-from ) id 1N8yla-0006eP-Bf; Fri, 13 Nov 2009 10:12:55 -0600 From: To: davinci-linux-open-source@linux.davincidsp.com, nsnehaprabha@ti.com Date: Fri, 13 Nov 2009 10:12:48 -0600 Message-ID: <1258128768-18040-1-git-send-email-miguel.aguilar@ridgerun.com> X-Mailer: git-send-email 1.6.0.4 X-SA-Exim-Connect-IP: 201.198.127.70 X-SA-Exim-Mail-From: miguel.aguilar@ridgerun.com X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on mail.navvo.net X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, NO_REAL_NAME autolearn=ham version=3.1.7-deb X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on mail.navvo.net) MIME-Version: 1.0 X-Reverse-DNS: mail.navvo.net Cc: santiago.nunez@ridgerun.com, todd.fischer@ridgerun.com, clark.becker@ridgerun.com, Miguel Aguilar Subject: [PATCH] DaVinci: DM365: Remove #ifdef from board file to load RTC as a module properly X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.4 Precedence: list List-Id: davinci-linux-open-source.linux.davincidsp.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c index ad0cb3f..8d23972 100644 --- a/arch/arm/mach-davinci/board-dm365-evm.c +++ b/arch/arm/mach-davinci/board-dm365-evm.c @@ -513,14 +513,11 @@ static __init void dm365_evm_init(void) evm_init_cpld(); dm365_init_asp(&dm365_evm_snd_data); + dm365_init_rtc(); #ifdef CONFIG_KEYBOARD_DAVINCI dm365_init_ks(&dm365evm_ks_data); #endif - -#ifdef CONFIG_RTC_DRV_DAVINCI - dm365_init_rtc(); -#endif } static __init void dm365_evm_irq_init(void)