From patchwork Thu May 13 17:47:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Contreras X-Patchwork-Id: 99368 X-Patchwork-Delegate: hiroshi.doyu@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4DHnBcn012239 for ; Thu, 13 May 2010 17:49:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758671Ab0EMRtJ (ORCPT ); Thu, 13 May 2010 13:49:09 -0400 Received: from fg-out-1718.google.com ([72.14.220.155]:26527 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756559Ab0EMRtG (ORCPT ); Thu, 13 May 2010 13:49:06 -0400 Received: by fg-out-1718.google.com with SMTP id d23so1240391fga.1 for ; Thu, 13 May 2010 10:49:04 -0700 (PDT) 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=aV+drRYZqpGwPOcGQ1jQyy2tdVYyeZtzQ6CJicj/mmE=; b=LinLDfKw2zBOY0RAdpy3coeG4Lg5RNTFa0DYv0cTTRJBTPhDgkrscDZwznXkKYIm+Y Lm22dusifCBHMt4wTwIBrg8I/K86oHLmXqH7k9H1VIWP6CCfYl4RzQ6zzeLThk7Jraf4 yScqLIXcSMfHI/nEAiiDYLoVj212FyMllJvQY= 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=npMUMk+qkfa/MSrUk0PiTv+l80H3+NbFzo3daUXBlF9MlNtMAtiQG4ChNC2VfrdNjH BL50vCQo8fzDFGtvdlLjkqgJJR7fQl2QtgkUaS4om2sfcTJklYDsNwyaE+sOAfntIuqm 1sC/WQ+34g/K7NR05HD1PTCKlCVTU4VQzCn90= Received: by 10.87.58.6 with SMTP id l6mr1108051fgk.15.1273772944244; Thu, 13 May 2010 10:49:04 -0700 (PDT) Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80]) by mx.google.com with ESMTPS id 12sm9411742fgg.24.2010.05.13.10.49.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 May 2010 10:49:03 -0700 (PDT) From: Felipe Contreras To: linux-omap Cc: linux-arm , Hiroshi Doyu , Tony Lindgren , Russell King , Felipe Contreras Subject: [PATCH 15/15] omap: mailbox: mark some resources as __initdata Date: Thu, 13 May 2010 20:47:36 +0300 Message-Id: <1273772856-10881-16-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1273772856-10881-1-git-send-email-felipe.contreras@gmail.com> References: <1273772856-10881-1-git-send-email-felipe.contreras@gmail.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, 13 May 2010 17:49:11 +0000 (UTC) diff --git a/arch/arm/mach-omap1/mailbox.c b/arch/arm/mach-omap1/mailbox.c index b01d3c3..74d2677 100644 --- a/arch/arm/mach-omap1/mailbox.c +++ b/arch/arm/mach-omap1/mailbox.c @@ -144,7 +144,7 @@ struct omap_mbox mbox_dsp_info = { struct omap_mbox *omap1_mboxes[] = { &mbox_dsp_info, NULL }; #if defined(CONFIG_ARCH_OMAP15XX) || defined(CONFIG_ARCH_OMAP16XX) -static struct resource omap1_mbox_resources[] = { +static struct resource __initdata omap1_mbox_resources[] = { { .start = OMAP16XX_MAILBOX_BASE, .end = OMAP16XX_MAILBOX_BASE, /* to be updated */ diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index b0d7740..a2fa784 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c @@ -368,7 +368,7 @@ struct omap_mbox *omap4_mboxes[] = { &mbox_1_info, &mbox_2_info, NULL }; #endif #ifdef CONFIG_ARCH_OMAP2420 -static struct resource omap2_mbox_resources[] = { +static struct resource __initdata omap2_mbox_resources[] = { { .start = OMAP24XX_MAILBOX_BASE, .end = OMAP24XX_MAILBOX_BASE + MBOX_REG_SIZE - 1, @@ -386,7 +386,7 @@ static struct resource omap2_mbox_resources[] = { #endif #ifdef CONFIG_ARCH_OMAP3430 -static struct resource omap3_mbox_resources[] = { +static struct resource __initdata omap3_mbox_resources[] = { { .start = OMAP34XX_MAILBOX_BASE, .end = OMAP34XX_MAILBOX_BASE + MBOX_REG_SIZE - 1, @@ -400,7 +400,7 @@ static struct resource omap3_mbox_resources[] = { #endif #ifdef CONFIG_ARCH_OMAP4 -static struct resource omap4_mbox_resources[] = { +static struct resource __initdata omap4_mbox_resources[] = { { .start = OMAP44XX_MAILBOX_BASE, .end = OMAP44XX_MAILBOX_BASE + OMAP4_MBOX_REG_SIZE - 1,