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

- From: Sergei Shtylyov \<hidden\>
- Date: 2013-10-15 17:13:44 
- List: netdev
- Page: https://ratatoskr.run/netdev/2013/10/10935446
- Thread: https://ratatoskr.run/netdev/2013/09/10934249/t.md

```text
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(-)

> 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
```
