summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-06-28 19:48:16 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2004-06-28 19:48:16 -0700
commit60cfbb5503bf8979a8769d58d5bd976f9f1e12f9 (patch)
tree13d1bbd51f7c909dc1251d36c3673570ae1afe46
parentbaa1795e20d6ddbd16c41043878bfafe7ceedd2d (diff)
[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 <greg@kroah.com>
-rw-r--r--drivers/usb/media/pwc-uncompress.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/media/pwc-uncompress.h b/drivers/usb/media/pwc-uncompress.h
index e0737523bbad..c3db3de8a6a9 100644
--- a/drivers/usb/media/pwc-uncompress.h
+++ b/drivers/usb/media/pwc-uncompress.h
@@ -48,9 +48,10 @@ struct pwc_decompressor
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 */