From 61d4711054d461d61558ce68499b8076378b8957 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Tue, 21 Aug 2012 13:53:08 +0530 Subject: i2c: tegra: declare iomap address to iomem type Declare the iomap address to __iomem type. Change-Id: Ic855834f6e7fd417e4c2fd0415a6195655d3ed60 Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/124874 Reviewed-by: Simone Willett Tested-by: Simone Willett --- drivers/i2c/busses/i2c-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/i2c') diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 43ca5c0e5639..42d3dd2afb13 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -878,7 +878,7 @@ static int __devinit tegra_i2c_probe(struct platform_device *pdev) struct clk *div_clk; struct clk *fast_clk = NULL; const unsigned int *prop; - void *base; + void __iomem *base; int irq; int nbus; int i = 0; -- cgit v1.2.3