diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-05-21 18:41:01 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-05-21 18:41:01 +0200 |
commit | 2178218027e4da0608219fae1d02e5c88f4e560d (patch) | |
tree | 6981b9c43a787fe254fefba1361e944223dd0ed7 /drivers/i2c/busses/i2c-simtec.c | |
parent | 2086ca482f89950410527425913ca48d948e9622 (diff) | |
download | talos-obmc-linux-2178218027e4da0608219fae1d02e5c88f4e560d.tar.gz talos-obmc-linux-2178218027e4da0608219fae1d02e5c88f4e560d.zip |
i2c: Use <linux/io.h> instead of <asm/io.h>
As warned by checkpatch.pl, <linux/io.h> should be used instead of
<asm/io.h>.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-simtec.c')
-rw-r--r-- | drivers/i2c/busses/i2c-simtec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-simtec.c b/drivers/i2c/busses/i2c-simtec.c index 78b06107342c..2fc08fbf67a2 100644 --- a/drivers/i2c/busses/i2c-simtec.c +++ b/drivers/i2c/busses/i2c-simtec.c @@ -24,12 +24,11 @@ #include <linux/delay.h> #include <linux/platform_device.h> #include <linux/slab.h> +#include <linux/io.h> #include <linux/i2c.h> #include <linux/i2c-algo-bit.h> -#include <asm/io.h> - struct simtec_i2c_data { struct resource *ioarea; void __iomem *reg; |