drivers: net: phy: marvell.c: removed checkpatch.pl warnings
Subsystems (3)
PATCH 1/1 drivers: net: phy: marvell.c: removed checkpatch.pl warnings
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>
--- drivers/net/phy/marvell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/phy/marvell.c +2 -2
@@ -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
Signature · 1 line
1.7.9.5
From: Avinash kumar <[email protected]>
Date: Mon, 30 Sep 2013 09:36:44 +0530
Quoted 5 lines
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 <[email protected]>
Applied, thanks.
Hello.
Quoted 14 lines · 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 <[email protected]>--- drivers/net/phy/marvell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/phy/marvell.c +0
-0
drivers/net/phy/marvell.c line 39
Quoted 8 lines
drivers/net/phy/marvell.c +2
-2@@ -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