Skip to contentSkip to conversation

mfd: Include <linux/io.h> instead of <asm/io.h>

PATCH In review Axel Lin 3 participants 3 messages Nov 10, 2010 – Nov 26, 2010 Multifunction devices (MFD)

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/2 mfd: Include <linux/io.h> instead of <asm/io.h>

As warned by checkpatch.pl, use #include <linux/io.h> instead of <asm/io.h>

---
 drivers/mfd/sm501.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/sm501.c +1 -1
index bc9275c..c24bed7 100644
@@ -26,7 +26,7 @@
 #include <linux/sm501-regs.h>
 #include <linux/serial_8250.h>
 
-#include <asm/io.h>
+#include <linux/io.h>
 
 struct sm501_device {
 	struct list_head		list;
Signature · 1 line
1.7.2
#2 lore raw
In reply to Axel Lin

Hi Axel,

Quoted 1 line · Axel Lin

As warned by checkpatch.pl, use #include <linux/io.h> instead of <asm/io.h>

Thanks a lot, both patches applied.

Cheers,
Samuel.

Quoted 23 lines
---
 drivers/mfd/sm501.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/sm501.c +1 -1
index bc9275c..c24bed7 100644
@@ -26,7 +26,7 @@
 #include <linux/sm501-regs.h>
 #include <linux/serial_8250.h>
 
-#include <asm/io.h>
+#include <linux/io.h>
 
 struct sm501_device {
 	struct list_head		list;
Signature · 1 line
1.7.2
Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/