mtd: phram: fix asm/io.h include usage

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Dec 15 19:59:03 PST 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=b85b8d92c1d720a5b2229aa1bad9bd77f09b8ec5
Commit:     b85b8d92c1d720a5b2229aa1bad9bd77f09b8ec5
Parent:     77adc085aee0c96dc3536403b197707316c7c241
Author:     Rob Ward <robert.ward114 at googlemail.com>
AuthorDate: Tue Oct 21 20:01:09 2014 +0100
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Oct 22 01:59:30 2014 -0700

    mtd: phram: fix asm/io.h include usage
    
    Modify phram to include <linux/io.h> rather than <asm/io.h>
    
    Signed-off-by: Rob Ward <robert.ward114 at googlemail.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/devices/phram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c
index effd9a4..8b66e52 100644
--- a/drivers/mtd/devices/phram.c
+++ b/drivers/mtd/devices/phram.c
@@ -17,7 +17,7 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include <asm/io.h>
+#include <linux/io.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/list.h>



More information about the linux-mtd-cvs mailing list