From patchwork Fri May 21 21:44:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Contreras X-Patchwork-Id: 101564 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 o4LLjdra008794 for ; Fri, 21 May 2010 21:45:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754671Ab0EUVpi (ORCPT ); Fri, 21 May 2010 17:45:38 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:48769 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754536Ab0EUVph (ORCPT ); Fri, 21 May 2010 17:45:37 -0400 Received: by mail-bw0-f46.google.com with SMTP id 7so202277bwz.19 for ; Fri, 21 May 2010 14:45:36 -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=q3RUG/tLYUhz42O0Uc0CWR5If2J1h4Oa7jLyn0lDMzTaebn8FM8SQFay/f9Cd8Mtt0 XPBt88Ipiy1fB/BsaLjzW+QyFlW2B+RUtPe+AAjCxoYEpKVGRhPHBKhN27wtP7o++Ic5 4/WZNawaYx8T8v/fdIPW6fgMfvGIDAal73Kbk= 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=RABpA5uLq66zd7Y7ObnjmMIS4m1saoCq5dJhCInma2hsh+8kcVVqkyBWhsURcN6V7v A4hvN1UvSyoHrASCcI2NRZZ3XqVlTEgmEUENGe1i00KAinSXSbGnt56yhudP3NZbkLM4 /N1xViZOUxjdlj1geM934rEtg7yLO9yM+V95g= Received: by 10.204.5.140 with SMTP id 12mr210141bkv.34.1274478336212; Fri, 21 May 2010 14:45:36 -0700 (PDT) Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80]) by mx.google.com with ESMTPS id a11sm6259263bkc.9.2010.05.21.14.45.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 21 May 2010 14:45:35 -0700 (PDT) From: Felipe Contreras To: linux-omap Cc: linux-arm , Hiroshi Doyu , Tony Lindgren , Felipe Contreras Subject: [PATCH v2t2 16/17] omap: mailbox: mark some resources as __initdata Date: Sat, 22 May 2010 00:44:48 +0300 Message-Id: <1274478289-22188-17-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1274478289-22188-1-git-send-email-felipe.contreras@gmail.com> References: <1274478289-22188-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, 21 May 2010 21:45:39 +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,