From patchwork Fri May 14 15:01:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Contreras X-Patchwork-Id: 99639 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 o4EF2bPC031973 for ; Fri, 14 May 2010 15:02:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756229Ab0ENPCf (ORCPT ); Fri, 14 May 2010 11:02:35 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:33360 "EHLO mail-ew0-f216.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755997Ab0ENPCe (ORCPT ); Fri, 14 May 2010 11:02:34 -0400 Received: by mail-ew0-f216.google.com with SMTP id 8so902601ewy.28 for ; Fri, 14 May 2010 08:02:33 -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=cz1awMDJIzUr+pTreDDmynMlMxl9tZ0KiugSqLDPHas=; b=j77mS8yaFUfW8dIgbo+h0DcrfPBScbN3ah+3r41RgmQWzYkv09Z51ok8/DfaRRDiEf omN7J+Cyyc6b8iksNI6EuxJp+TJpUW2rvph8JIF1k9bbD09x3VnbEL6I0chz2QllkCPk m8I2ydIDnyVgfAn5jvqrUtEtFKEAAqR123vKk= 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=tkBpTTAoh3NG+BPp1pWZjY8GuBZyMHYsLRYm/6NcntnYkv6snhiYRs5fej9SMyubGG rTMajFA+naoNvISsgl8mEBOTkrEn8G+VWYbcFgYH31Uo8A9MrSxxwT/hk+gi7rxnUi0D JPYAE5kH9C3S1jtS0HRnbH2ClVfIHNnqDlasI= Received: by 10.213.67.129 with SMTP id r1mr745151ebi.69.1273849353368; Fri, 14 May 2010 08:02:33 -0700 (PDT) Received: from localhost ([192.100.124.156]) by mx.google.com with ESMTPS id 15sm1302147ewy.8.2010.05.14.08.02.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 May 2010 08:02:32 -0700 (PDT) From: Felipe Contreras To: linux-omap Cc: linux-arm , Hiroshi Doyu , Tony Lindgren , Russell King , Felipe Contreras Subject: [PATCH v2 16/17] omap: mailbox: mark some resources as __initdata Date: Fri, 14 May 2010 18:01:49 +0300 Message-Id: <1273849310-32169-17-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1273849310-32169-1-git-send-email-felipe.contreras@gmail.com> References: <1273849310-32169-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]); Fri, 14 May 2010 15:02:37 +0000 (UTC) diff --git a/arch/arm/mach-omap1/mailbox.c b/arch/arm/mach-omap1/mailbox.c index 7e6aea3..aa661a1 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 f230edb..ddaf7f0 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c @@ -389,7 +389,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, @@ -407,7 +407,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, @@ -421,7 +421,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,