summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-simtec.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2010-05-21 20:41:01 +0400
committerJean Delvare <khali@linux-fr.org>2010-05-21 20:41:01 +0400
commit2178218027e4da0608219fae1d02e5c88f4e560d (patch)
tree6981b9c43a787fe254fefba1361e944223dd0ed7 /drivers/i2c/busses/i2c-simtec.c
parent2086ca482f89950410527425913ca48d948e9622 (diff)
downloadlinux-2178218027e4da0608219fae1d02e5c88f4e560d.tar.xz
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.c3
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;