On Thu, Aug 04, 2011 at 07:52:21AM +0800, Wanlong Gao wrote:
> On 08/03/2011 07:15 PM, Belisko Marek wrote:
> >On Wed, Aug 3, 2011 at 10:20 AM, Wanlong Gao<[email protected]>  
> >wrote:
> >>Add the missed include file linux/io.h in ft1000_proc.c.
> >What is the reason for that? I don't see any build error when compile
> >today's linux-next.
> >>
> >>Signed-off-by: Wanlong Gao<[email protected]>
> >>---
> >>  drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c |    1 +
> >>  1 files changed, 1 insertions(+), 0 deletions(-)
> >>
> >>diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c 
> >>b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c
> >>index 627a98b..616f899 100644
> >>--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c
> >>+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c
> >>@@ -22,6 +22,7 @@
> >>  #include<linux/string.h>
> >>  #include<linux/vmalloc.h>
> >>  #include<linux/netdevice.h>
> >>+#include<linux/io.h>
> >>  #include<asm/uaccess.h>
> >>  #include "ft1000.h"
> >>
> >>--
> >>1.7.6
> >>
> >>_______________________________________________
> >>devel mailing list
> >>[email protected]
> >>http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
> >>
> >
> >thanks,
> >
> >marek
> >
> In file included from 
> /root/200/linux-2.6/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c:26:
> /root/200/linux-2.6/drivers/staging/ft1000/ft1000-pcmcia/ft1000.h:
> In function 'ft1000_read_reg':
> /root/200/linux-2.6/drivers/staging/ft1000/ft1000-pcmcia/ft1000.h:80:
> error: implicit declaration of function 'inw'
> /root/200/linux-2.6/drivers/staging/ft1000/ft1000-pcmcia/ft1000.h:
> In function 'ft1000_write_reg':
> /root/200/linux-2.6/drivers/staging/ft1000/ft1000-pcmcia/ft1000.h:86:
> error: implicit declaration of function 'outw'
> make[2]: *** [drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.o] Error 1
> make[1]: *** [drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.o] Error 2

Already fixed in my tree and in linux-next for tomorrow.

thanks,

greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to