[PATCH] mtd: phram: fix asm/io.h include usage
Rob Ward
robert.ward114 at googlemail.com
Tue Oct 21 12:14:00 PDT 2014
>From ca36c5ca9adbe1d3c107e5ff22e8d0db5dddb1b9 Mon Sep 17 00:00:00 2001
From: Rob Ward <robert.ward114 at googlemail.com>
Date: Tue, 21 Oct 2014 20:01:09 +0100
Subject: [PATCH] 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>
---
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>
--
2.0.2
More information about the linux-mtd
mailing list