Skip to contentSkip to conversation

rtl8192u: r8192U:- Do not use 'asm/io.h' directly, use 'linux/io.h'.

PATCH In review Arvind Yadav 2 participants 2 messages Jan 6, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 rtl8192u: r8192U:- Do not use 'asm/io.h' directly, use 'linux/io.h'.

'commit 2584cf83578c ("arch, drivers: don't
include <asm/io.h> directly, use <linux/io.h> instead")' Make uniform definition of ioremap, ioremap_wc, ioremap_wt and ioremap_cache, tree-wide.

---
 drivers/staging/rtl8192u/r8192U.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/r8192U.h +1 -1
index 0b7b04e..c078659 100644
@@ -34,7 +34,7 @@
 #include <linux/proc_fs.h>
 #include <linux/if_arp.h>
 #include <linux/random.h>
-#include <asm/io.h>
+#include <linux/io.h>
 #include "ieee80211/ieee80211.h"
 
 #define RTL8192U
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 4 lines · Arvind Yadav

'commit 2584cf83578c ("arch, drivers: don't
include <asm/io.h> directly, use <linux/io.h> instead")' Make uniform definition of ioremap, ioremap_wc, ioremap_wt and ioremap_cache, tree-wide.

I still don't understand what this means at all, do you?

What does the "Make uniform..." sentance mean in relation to this simple patch that just changes the include file used?

confused,

greg k-h