Re: [PATCH] drivers: net: phy: marvell.c: removed checkpatch.pl warnings

From
Sergei Shtylyov <hidden>
Date
2013-10-15 17:13:44
Reply to
Avinash kumar, 2013-09-30
Hello.

On 09/30/2013 08:06 AM, Avinash kumar wrote:
removes following warnings-
drivers/net/phy/marvell.c:37: WARNING: Use #include <linux/io.h> instead of <asm/io.h>
drivers/net/phy/marvell.c:39: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
Signed-off-by: Avinash Kumar <redacted>
---
  drivers/net/phy/marvell.c |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index 2e91477..2e3c778e 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -34,9 +34,9 @@
  #include <linux/marvell_phy.h>
  #include <linux/of.h>

-#include <asm/io.h>
+#include <linux/io.h>
  #include <asm/irq.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
   You should move these #include's to the group of <linux/> #include's  now.

WBR, Sergei
Thread (3 messages) 3 messages, 3 authors, last reply 2013-10-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help