Skip to contentSkip to conversation

drivers: net: phy: cicada.c: clears warning Use #include <linux/io.h> instead of <asm/io.h>

PATCH Applied Avinash Kumar 2 participants 2 messages Sep 16, 2013 – Sep 17, 2013

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

PATCH 4/4 drivers: net: phy: cicada.c: clears warning Use #include <linux/io.h> instead of <asm/io.h>

clears following warnings :
WARNING: Use include <linux/io.h> instead of <asm/io.h>
WARNING: Use include <linux/uaccess.h> instead of <asm/uaccess.h>

---
 drivers/net/phy/cicada.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/phy/cicada.c +2 -2
index db472ff..313a037 100644
@@ -30,9 +30,9 @@
 #include <linux/ethtool.h>
 #include <linux/phy.h>
 
-#include <asm/io.h>
+#include <linux/io.h>
 #include <asm/irq.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 /* Cicada Extended Control Register 1 */
 #define MII_CIS8201_EXT_CON1           0x17
Signature · 1 line
1.7.10.4
maintainer Applied
#1 lore raw

From: Avinash Kumar <[email protected]>
Date: Mon, 16 Sep 2013 21:39:41 +0530

Quoted 5 lines

clears following warnings :
WARNING: Use include <linux/io.h> instead of <asm/io.h>
WARNING: Use include <linux/uaccess.h> instead of <asm/uaccess.h>

Applied, thanks.