From patchwork Sat Dec 19 13:32:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 68922 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBJDXCMu031713 for ; Sat, 19 Dec 2009 13:33:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752110AbZLSNdL (ORCPT ); Sat, 19 Dec 2009 08:33:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752107AbZLSNdL (ORCPT ); Sat, 19 Dec 2009 08:33:11 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:53363 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022AbZLSNdJ (ORCPT ); Sat, 19 Dec 2009 08:33:09 -0500 Received: from dlep36.itg.ti.com ([157.170.170.91]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id nBJDX6Pj031815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Dec 2009 07:33:06 -0600 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id nBJDX4du028456; Sat, 19 Dec 2009 07:33:04 -0600 (CST) Received: from coyote (coyote.apr.dhcp.ti.com [172.24.156.34]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id nBJDX2Z12229; Sat, 19 Dec 2009 07:33:02 -0600 (CST) Received: by coyote (Postfix, from userid 1000) id DD89D34EB7; Sat, 19 Dec 2009 19:03:00 +0530 (IST) From: Nishanth Menon To: kevin h Cc: linux omap , Romit Dasgupta , Ambresh k , Nishanth Menon Subject: [PATCH 2/2 v2] omap3:pm: remove omap3_[mpu|dsp|l3]_rate_tables Date: Sat, 19 Dec 2009 19:02:59 +0530 Message-Id: <1261229579-8553-1-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.6.3.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/omap3-opp.h b/arch/arm/mach-omap2/omap3-opp.h index 994d8d4..b47bb44 100644 --- a/arch/arm/mach-omap2/omap3-opp.h +++ b/arch/arm/mach-omap2/omap3-opp.h @@ -3,8 +3,4 @@ #include -extern struct omap_opp *omap3_mpu_rate_table; -extern struct omap_opp *omap3_dsp_rate_table; -extern struct omap_opp *omap3_l3_rate_table; - #endif diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index d7646ba..9744a35 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -189,11 +189,6 @@ static struct omap_opp_def __initdata omap36xx_dsp_rate_table[] = { OMAP_OPP_DEF(0, 0, 0) }; -/* OMAP3 Rate Table */ -struct omap_opp *omap3_mpu_rate_table; -struct omap_opp *omap3_dsp_rate_table; -struct omap_opp *omap3_l3_rate_table; - static inline void omap3_per_save_context(void) { omap_gpio_save_context(); @@ -1365,9 +1360,9 @@ void __init omap3_pm_init_opp_table(void) omap36xx_dsp_rate_table }; struct omap_opp **omap3_rate_tables[] = { - &omap3_mpu_rate_table, - &omap3_l3_rate_table, - &omap3_dsp_rate_table + &mpu_opps, + &dsp_opps, + &l3_opps }; omap3_opp_def_list = cpu_is_omap3630() ? omap36xx_opp_def_list : @@ -1377,10 +1372,6 @@ void __init omap3_pm_init_opp_table(void) /* We dont want half configured system at the moment */ BUG_ON(IS_ERR(omap3_rate_tables[i])); } - - mpu_opps = omap3_mpu_rate_table; - dsp_opps = omap3_dsp_rate_table; - l3_opps = omap3_l3_rate_table; } static int __init omap3_pm_early_init(void)