summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-versatile.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2010-05-21 18:41:01 +0200
committerJean Delvare <khali@linux-fr.org>2010-05-21 18:41:01 +0200
commit2178218027e4da0608219fae1d02e5c88f4e560d (patch)
tree6981b9c43a787fe254fefba1361e944223dd0ed7 /drivers/i2c/busses/i2c-versatile.c
parenti2c-algo-pca: Fix coding style issues (diff)
downloadlinux-2178218027e4da0608219fae1d02e5c88f4e560d.tar.xz
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-versatile.c')
-rw-r--r--drivers/i2c/busses/i2c-versatile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-versatile.c b/drivers/i2c/busses/i2c-versatile.c
index 5c473833d948..60556012312f 100644
--- a/drivers/i2c/busses/i2c-versatile.c
+++ b/drivers/i2c/busses/i2c-versatile.c
@@ -15,8 +15,7 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
-
-#include <asm/io.h>
+#include <linux/io.h>
#define I2C_CONTROL 0x00
#define I2C_CONTROLS 0x00