ChangeSet 1.1757.66.30, 2004/07/14 15:02:24-07:00, [EMAIL PROTECTED]

[PATCH] USB: fix SN9C10[12] driver for ia64

 On Sun, Jul 11, Luca Risolia wrote:

> This single patch contains some updates and cleanups for
> the W996[87]CF driver and a new experimental V4L2 driver
> for SONiX SN9C10[12] PC Camera Controllers connected to various
> image sensors. I have not divided the patch in two logical
> sub-patches becouse of two independent changes in one common
> file, KConfigure. Since this mailing list refused the patch,
> due to its size, I have uploaded it here, as
> Documentation/SubmittingPatches suggests:

I need this patch for x86_64.


  CC [M]  drivers/usb/media/sn9c102_core.o
In file included from drivers/usb/media/sn9c102.h:34,
                 from drivers/usb/media/sn9c102_core.c:43:
include/asm/rwsem.h:55: error: redefinition of `struct rw_semaphore'
In file included from drivers/usb/media/sn9c102.h:34,
                 from drivers/usb/media/sn9c102_core.c:43:
include/asm/rwsem.h:79:1: warning: "__RWSEM_INITIALIZER" redefined
In file included from include/linux/rwsem.h:25,
                 from include/asm/semaphore.h:43,
                 from include/linux/sched.h:18,
                 from include/linux/module.h:10,
                 from drivers/usb/media/sn9c102_core.c:21:
include/linux/rwsem-spinlock.h:49:1: warning: this is the location of the previous 
definition
include/asm/rwsem.h:87: warning: static declaration for `init_rwsem' follows non-static
include/asm/rwsem.h:100: warning: `__down_read' declared inline after being called
include/asm/rwsem.h:100: warning: static declaration for `__down_read' follows 
non-static
include/asm/rwsem.h:122: warning: `__down_read_trylock' declared inline after being 
called
include/asm/rwsem.h:122: warning: static declaration for `__down_read_trylock' follows 
non-static
include/asm/rwsem.h:146: warning: `__down_write' declared inline after being called
include/asm/rwsem.h:146: warning: static declaration for `__down_write' follows 
non-static
include/asm/rwsem.h:171: warning: `__down_write_trylock' declared inline after being 
called
include/asm/rwsem.h:171: warning: static declaration for `__down_write_trylock' 
follows non-static
include/asm/rwsem.h:184: warning: `__up_read' declared inline after being called
include/asm/rwsem.h:184: warning: static declaration for `__up_read' follows non-static
include/asm/rwsem.h:208: warning: `__up_write' declared inline after being called
include/asm/rwsem.h:208: warning: static declaration for `__up_write' follows 
non-static
include/asm/rwsem.h:233: warning: `__downgrade_write' declared inline after being 
called
include/asm/rwsem.h:233: warning: static declaration for `__downgrade_write' follows 
non-static
make[3]: *** [drivers/usb/media/sn9c102_core.o] Error 1


Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 drivers/usb/media/sn9c102.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


diff -Nru a/drivers/usb/media/sn9c102.h b/drivers/usb/media/sn9c102.h
--- a/drivers/usb/media/sn9c102.h       2004-07-14 16:43:42 -07:00
+++ b/drivers/usb/media/sn9c102.h       2004-07-14 16:43:42 -07:00
@@ -30,8 +30,7 @@
 #include <linux/wait.h>
 #include <linux/types.h>
 #include <linux/param.h>
-#include <asm/semaphore.h>
-#include <asm/rwsem.h>
+#include <linux/rwsem.h>
 
 #include "sn9c102_sensor.h"
 



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to