linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / usb / mon / usb_mon.h
index 33678c2..4be0f93 100644 (file)
@@ -27,7 +27,6 @@ struct mon_bus {
        struct kref ref;                /* Under mon_lock */
 
        /* Stats */
-       unsigned int cnt_events;
        unsigned int cnt_text_lost;
 };
 
@@ -40,7 +39,6 @@ struct mon_reader {
        void *r_data;           /* Use container_of instead? */
 
        void (*rnf_submit)(void *data, struct urb *urb);
-       void (*rnf_error)(void *data, struct urb *urb, int error);
        void (*rnf_complete)(void *data, struct urb *urb);
 };
 
@@ -51,7 +49,7 @@ void mon_reader_del(struct mon_bus *mbus, struct mon_reader *r);
  */
 extern char mon_dmapeek(unsigned char *dst, dma_addr_t dma_addr, int len);
 
-extern struct mutex mon_lock;
+extern struct semaphore mon_lock;
 
 extern struct file_operations mon_fops_text;
 extern struct file_operations mon_fops_stat;