ChangeSet 1.1760.26.22, 2004/06/29 09:48:16-07:00, [EMAIL PROTECTED]

[PATCH] USB: pwc-uncompress.h

For some reason, gcc-2.95.4 dies horridly on those asmlinkage
declarations.

I was unable to work out _why_ those functions have asmlinkage, as there
seem to be no instances of them - nobody calls
pwc_register_decompressor().
 What's up with that?


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


 drivers/usb/media/pwc-uncompress.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


diff -Nru a/drivers/usb/media/pwc-uncompress.h b/drivers/usb/media/pwc-uncompress.h
--- a/drivers/usb/media/pwc-uncompress.h        2004-06-29 16:24:59 -07:00
+++ b/drivers/usb/media/pwc-uncompress.h        2004-06-29 16:24:59 -07:00
@@ -48,9 +48,10 @@
        int  type;              /* type of camera (645, 680, etc) */
        int  table_size;        /* memory needed */
 
-       asmlinkage void (* init)(int type, int release, void *buffer, void *table);    
 /* Initialization routine; should be called after each set_video_mode */
-       asmlinkage void (* exit)(void); /* Cleanup routine */
-       asmlinkage void (* decompress)(struct pwc_coord *image, struct pwc_coord 
*view, struct pwc_coord *offset,
+       void (* init)(int type, int release, void *buffer, void *table);        /* 
Initialization routine; should be called after each set_video_mode */
+       void (* exit)(void);    /* Cleanup routine */
+       void (* decompress)(struct pwc_coord *image, struct pwc_coord *view,
+                           struct pwc_coord *offset,
                             void *src, void *dst, int flags,
                            void *table, int bandlength);
        void (* lock)(void);    /* make sure module cannot be unloaded */



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to