linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / usb / storage / usb.h
index 009fb09..7259fd1 100644 (file)
@@ -49,7 +49,6 @@
 #include <linux/blkdev.h>
 #include <linux/smp_lock.h>
 #include <linux/completion.h>
-#include <linux/mutex.h>
 #include <scsi/scsi_host.h>
 
 struct us_data;
@@ -104,9 +103,9 @@ typedef void (*pm_hook)(struct us_data *, int);     /* power management hook */
 struct us_data {
        /* The device we're working with
         * It's important to note:
-        *    (o) you must hold dev_mutex to change pusb_dev
+        *    (o) you must hold dev_semaphore to change pusb_dev
         */
-       struct mutex            dev_mutex;       /* protect pusb_dev */
+       struct semaphore        dev_semaphore;   /* protect pusb_dev */
        struct usb_device       *pusb_dev;       /* this usb_device */
        struct usb_interface    *pusb_intf;      /* this interface */
        struct us_unusual_dev   *unusual_dev;    /* device-filter entry     */