From 6f239e487c186c453ff094e4da4bbf5f6a00cc57 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 18 Jul 2016 08:14:47 -0700 Subject: mfd: syscon: Use IOMEM instead of explicit cast Signed-off-by: Andrey Smirnov Signed-off-by: Sascha Hauer --- drivers/mfd/syscon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mfd/syscon.c') diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index 487fa9ee0a..295e210f6e 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); -- cgit v1.2.3