Skip to contentSkip to conversation

staging: sm750fb: Replace include <asm/*.h> with include <linux/*.h>

PATCH New Amitoj Kaur Chawla 1 participant 1 message Oct 18, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: sm750fb: Replace include <asm/*.h> with include <linux/*.h>

Problem found using checkpatch.pl
WARNING: Use #include <linux/io.h> instead of <asm/io.h>
WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>

---
 drivers/staging/sm750fb/ddk750_help.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/sm750fb/ddk750_help.h +2 -2
index 9b2d2d2..5be814e 100644
@@ -4,8 +4,8 @@
 #ifndef USE_INTERNAL_REGISTER_ACCESS
 
 #include <linux/ioport.h>
-#include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/io.h>
+#include <linux/uaccess.h>
 #include "sm750_help.h"
 
 /* software control endianness */
Signature · 1 line
1.9.1