From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bPAGe-0006qo-E8 for barebox@lists.infradead.org; Mon, 18 Jul 2016 15:15:37 +0000 Received: by mail-pf0-x241.google.com with SMTP id i6so11666625pfe.0 for ; Mon, 18 Jul 2016 08:15:16 -0700 (PDT) From: Andrey Smirnov Date: Mon, 18 Jul 2016 08:14:47 -0700 Message-Id: <1468854889-6057-5-git-send-email-andrew.smirnov@gmail.com> In-Reply-To: <1468854889-6057-1-git-send-email-andrew.smirnov@gmail.com> References: <1468854889-6057-1-git-send-email-andrew.smirnov@gmail.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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 5/7] mfd: syscon: Use IOMEM instead of explicit cast To: barebox@lists.infradead.org Cc: Andrey Smirnov Signed-off-by: Andrey Smirnov --- drivers/mfd/syscon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index 487fa9e..295e210 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c @@ -123,7 +123,7 @@ static int syscon_probe(struct device_d *dev) return PTR_ERR(res); } - syscon->base = (void __iomem *)res->start; + syscon->base = IOMEM(res->start); dev->priv = syscon; dev_dbg(dev, "map 0x%x-0x%x registered\n", res->start, res->end); -- 2.5.5 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox