From patchwork Thu Aug 5 15:47:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benoit Cousson X-Patchwork-Id: 117349 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o75FmFnX022934 for ; Thu, 5 Aug 2010 15:48:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933243Ab0HEPsN (ORCPT ); Thu, 5 Aug 2010 11:48:13 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:35477 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758190Ab0HEPsL (ORCPT ); Thu, 5 Aug 2010 11:48:11 -0400 Received: from dlep36.itg.ti.com ([157.170.170.91]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id o75Fm9oS020341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Aug 2010 10:48:09 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id o75FluBR007306; Thu, 5 Aug 2010 10:48:04 -0500 (CDT) From: Benoit Cousson To: linux-omap@vger.kernel.org, khilman@deeprootsystems.com, paul@pwsan.com Cc: rnayak@ti.com, santosh.shilimkar@ti.com, Benoit Cousson Subject: [PATCH v3 3/7] OMAP4: pm: Change l3_main to l3_main_1 during bus device init Date: Thu, 5 Aug 2010 17:47:52 +0200 Message-Id: <1281023276-15679-4-git-send-email-b-cousson@ti.com> X-Mailer: git-send-email 1.6.1.3 In-Reply-To: <1281023276-15679-1-git-send-email-b-cousson@ti.com> References: <1281023276-15679-1-git-send-email-b-cousson@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 05 Aug 2010 15:48:15 +0000 (UTC) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 68f9f2e..89e8125 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -70,7 +70,10 @@ static void omap2_init_processor_devices(void) { _init_omap_device("mpu", &mpu_dev); _init_omap_device("iva", &dsp_dev); - _init_omap_device("l3_main", &l3_dev); + if (cpu_is_omap44xx()) + _init_omap_device("l3_main_1", &l3_dev); + else + _init_omap_device("l3_main", &l3_dev); } static int __init omap2_common_pm_init(void)