From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 11.mo4.mail-out.ovh.net ([46.105.34.195] helo=mo4.mail-out.ovh.net) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qi2dO-0000jF-Gt for barebox@lists.infradead.org; Sat, 16 Jul 2011 11:02:11 +0000 Received: from mail187.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 2F5B0FFA01D for ; Sat, 16 Jul 2011 13:02:33 +0200 (CEST) From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 16 Jul 2011 12:45:30 +0200 Message-Id: <1310813132-4151-5-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <1310813132-4151-1-git-send-email-plagnioj@jcrosoft.com> References: <1310813132-4151-1-git-send-email-plagnioj@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 5/7] atmel_mci: switch to "struct resource" To: barebox@lists.infradead.org Cc: Patrice Vilchez , Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: Patrice Vilchez --- drivers/mci/atmel_mci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mci/atmel_mci.c b/drivers/mci/atmel_mci.c index d8bcf81..70041ba 100644 --- a/drivers/mci/atmel_mci.c +++ b/drivers/mci/atmel_mci.c @@ -456,7 +456,7 @@ static int mci_probe(struct device_d *hw_dev) if (pd->bus_width == 8) host->mci.host_caps |= MMC_MODE_8BIT; - host->base = (void __iomem *)hw_dev->map_base; + host->base = (void __iomem *)hw_dev->resource[0].start; host->hw_dev = hw_dev; hw_dev->priv = host; host->clk = clk_get(hw_dev, "mci_clk"); -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox