mtd: s3c2410: Use <linux/io.h> instead of <asm/io.h>
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Sep 29 10:59:05 EDT 2012
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=d2a89be8e7cedbc7aba7f0265459e75e6627614c
Commit: d2a89be8e7cedbc7aba7f0265459e75e6627614c
Parent: 92aeb5d20c188fc7c28d7a5895a6b2f56038a2bd
Author: Sachin Kamat <sachin.kamat at linaro.org>
AuthorDate: Mon Jul 16 16:02:24 2012 +0530
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sat Sep 29 14:56:07 2012 +0100
mtd: s3c2410: Use <linux/io.h> instead of <asm/io.h>
Fixes the following checkpatch warning:
WARNING: Use #include <linux/io.h> instead of <asm/io.h>
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/s3c2410.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index 3021b17..f9bbf55 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -32,6 +32,7 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
@@ -45,8 +46,6 @@
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/partitions.h>
-#include <asm/io.h>
-
#include <plat/regs-nand.h>
#include <plat/nand.h>
More information about the linux-mtd-cvs
mailing list