[OPW,kernel] Staging: ft1000: ft1000_dnld: fixed checpatch warnings.
diff mbox

Message ID 1414697526-21505-1-git-send-email-suryaseetharaman.9@gmail.com
State New, archived
Headers show

Commit Message

tssurya Oct. 30, 2014, 7:32 p.m. UTC
fixed the following checkpatch warnings:-
WARNING: Use #include <linux/io.h> instead of <asm/io.h>
WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
---
 drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Greg KH Oct. 30, 2014, 8:19 p.m. UTC | #1
On Fri, Oct 31, 2014 at 01:02:06AM +0530, Surya Seetharaman wrote:
> fixed the following checkpatch warnings:-
> WARNING: Use #include <linux/io.h> instead of <asm/io.h>
> WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
> 
> Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
> ---
>  drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
> index afaab07..95ef371 100644
> --- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
> +++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
> @@ -30,8 +30,8 @@
>  #include <linux/netdevice.h>
>  #include <linux/timer.h>
>  #include <linux/delay.h>
> -#include <asm/io.h>
> -#include <asm/uaccess.h>
> +#include <linux/io.h>
> +#include <linux/uaccess.h>
>  #include <linux/vmalloc.h>
>  
>  #include "ft1000.h"

This doesn't apply properly :(
tssurya Oct. 30, 2014, 8:23 p.m. UTC | #2
Oh sorry for the trouble! Will end this thread here.
?
?Thank You,
Surya.

Patch
diff mbox

diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
index afaab07..95ef371 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
@@ -30,8 +30,8 @@ 
 #include <linux/netdevice.h>
 #include <linux/timer.h>
 #include <linux/delay.h>
-#include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/io.h>
+#include <linux/uaccess.h>
 #include <linux/vmalloc.h>
 
 #include "ft1000.h"