diff options
author | Olof Johansson <olof@lixom.net> | 2011-10-13 00:33:00 (GMT) |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-10-29 10:11:23 (GMT) |
commit | f533c61e1921b93aa247d72d39c3fbe045340a9a (patch) | |
tree | 7ea6d18874487de2b94387d07617ef6e2b61d5cb /drivers/i2c/busses/i2c-tegra.c | |
parent | 1fdb24e969110fafea36d3b393bea438f702c87f (diff) | |
download | linux-fsl-qoriq-f533c61e1921b93aa247d72d39c3fbe045340a9a.tar.xz |
i2c-tegra: __iomem annotation fix
drivers/i2c/busses/i2c-tegra.c:585:7: warning: incorrect type in assignment (different address spaces)
drivers/i2c/busses/i2c-tegra.c:585:7: expected void *base
drivers/i2c/busses/i2c-tegra.c:585:7: got void [noderef] <asn:2>*
drivers/i2c/busses/i2c-tegra.c:619:16: warning: incorrect type in assignment (different address spaces)
drivers/i2c/busses/i2c-tegra.c:619:16: expected void [noderef] <asn:2>*base
drivers/i2c/busses/i2c-tegra.c:619:16: got void *base
drivers/i2c/busses/i2c-tegra.c:689:10: warning: incorrect type in argument 1 (different address spaces)
drivers/i2c/busses/i2c-tegra.c:689:10: expected void volatile [noderef] <asn:2>*addr
drivers/i2c/busses/i2c-tegra.c:689:10: got void *base
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by; Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-tegra.c')
-rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 3c94c4a..b050530 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -566,7 +566,7 @@ static int tegra_i2c_probe(struct platform_device *pdev) struct clk *clk; struct clk *i2c_clk; const unsigned int *prop; - void *base; + void __iomem *base; int irq; int ret = 0; |