* [PATCH] drivers: net: phy: marvell.c: removed checkpatch.pl warnings
@ 2013-09-30 4:06 Avinash kumar
2013-10-01 5:15 ` David Miller
2013-10-15 17:12 ` Sergei Shtylyov
0 siblings, 2 replies; 3+ messages in thread
From: Avinash kumar @ 2013-09-30 4:06 UTC (permalink / raw)
To: davem; +Cc: michal.simek, lars, RHoover, netdev, Avinash kumar
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 <avi.kp.137@gmail.com>
---
drivers/net/phy/marvell.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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>
#define MII_MARVELL_PHY_PAGE 22
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drivers: net: phy: marvell.c: removed checkpatch.pl warnings
2013-09-30 4:06 [PATCH] drivers: net: phy: marvell.c: removed checkpatch.pl warnings Avinash kumar
@ 2013-10-01 5:15 ` David Miller
2013-10-15 17:12 ` Sergei Shtylyov
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2013-10-01 5:15 UTC (permalink / raw)
To: avi.kp.137; +Cc: michal.simek, lars, RHoover, netdev
From: Avinash kumar <avi.kp.137@gmail.com>
Date: Mon, 30 Sep 2013 09:36:44 +0530
> 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 <avi.kp.137@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drivers: net: phy: marvell.c: removed checkpatch.pl warnings
2013-09-30 4:06 [PATCH] drivers: net: phy: marvell.c: removed checkpatch.pl warnings Avinash kumar
2013-10-01 5:15 ` David Miller
@ 2013-10-15 17:12 ` Sergei Shtylyov
1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2013-10-15 17:12 UTC (permalink / raw)
To: Avinash kumar; +Cc: davem, michal.simek, lars, RHoover, netdev
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 <avi.kp.137@gmail.com>
> ---
> drivers/net/phy/marvell.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-15 17:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 4:06 [PATCH] drivers: net: phy: marvell.c: removed checkpatch.pl warnings Avinash kumar
2013-10-01 5:15 ` David Miller
2013-10-15 17:12 ` Sergei Shtylyov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).