i2c: tegra: declare iomap address to iomem type
Laxman Dewangan [Tue, 21 Aug 2012 08:23:08 +0000 (13:23 +0530)]
Declare the iomap address to __iomem type.

Change-Id: Ic855834f6e7fd417e4c2fd0415a6195655d3ed60
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/124874
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

drivers/i2c/busses/i2c-tegra.c

index 43ca5c0..42d3dd2 100644 (file)
@@ -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;