From patchwork Tue Feb 28 16:31:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martin X-Patchwork-Id: 143498 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 230FDB6FA9 for ; Wed, 29 Feb 2012 03:35:16 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1S2Pya-0003gH-Ka; Tue, 28 Feb 2012 16:32:32 +0000 Received: from mail-ww0-f49.google.com ([74.125.82.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1S2PyC-0003eM-23 for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2012 16:32:08 +0000 Received: by wgbdt12 with SMTP id dt12so1278394wgb.18 for ; Tue, 28 Feb 2012 08:32:06 -0800 (PST) Received-SPF: pass (google.com: domain of javier.martin@vista-silicon.com designates 10.180.99.100 as permitted sender) client-ip=10.180.99.100; Authentication-Results: mr.google.com; spf=pass (google.com: domain of javier.martin@vista-silicon.com designates 10.180.99.100 as permitted sender) smtp.mail=javier.martin@vista-silicon.com Received: from mr.google.com ([10.180.99.100]) by 10.180.99.100 with SMTP id ep4mr40420064wib.7.1330446726790 (num_hops = 1); Tue, 28 Feb 2012 08:32:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.99.100 with SMTP id ep4mr32038928wib.7.1330446726668; Tue, 28 Feb 2012 08:32:06 -0800 (PST) Received: from localhost.localdomain (182.50.18.95.dynamic.jazztel.es. [95.18.50.182]) by mx.google.com with ESMTPS id s2sm72947068wix.3.2012.02.28.08.32.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Feb 2012 08:32:06 -0800 (PST) From: Javier Martin To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/4] i.MX27: visstrim_m10: Register I2C devices after I2C busses have been added. Date: Tue, 28 Feb 2012 17:31:49 +0100 Message-Id: <1330446711-6970-3-git-send-email-javier.martin@vista-silicon.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1330446711-6970-1-git-send-email-javier.martin@vista-silicon.com> References: <1330446711-6970-1-git-send-email-javier.martin@vista-silicon.com> X-Gm-Message-State: ALoCoQmVBdtcXnjm0n1fUZBe4/Fz5w55mQSqZaAh9xgHwh/sd27CPp2khJtn1En5kHZx6uZZwHf+ X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux@arm.linux.org.uk, festevam@gmail.com, Javier Martin , u.kleine-koenig@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Signed-off-by: Javier Martin --- arch/arm/mach-imx/mach-imx27_visstrim_m10.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c index c2766ae..1c26c6d 100644 --- a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c +++ b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c @@ -254,10 +254,11 @@ static void __init visstrim_m10_board_init(void) imx27_add_imx_ssi(0, &visstrim_m10_ssi_pdata); imx27_add_imx_uart0(&uart_pdata); - i2c_register_board_info(0, visstrim_m10_i2c_devices, - ARRAY_SIZE(visstrim_m10_i2c_devices)); imx27_add_imx_i2c(0, &visstrim_m10_i2c_data); imx27_add_imx_i2c(1, &visstrim_m10_i2c_data); + i2c_register_board_info(0, visstrim_m10_i2c_devices, + ARRAY_SIZE(visstrim_m10_i2c_devices)); + imx27_add_mxc_mmc(0, &visstrim_m10_sdhc_pdata); imx27_add_mxc_ehci_otg(&visstrim_m10_usbotg_pdata); imx27_add_fec(NULL);