X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fscsi%2Fosst.h;h=5aa22740b5dfaebcb3d0f812c318620177cc14de;hb=a4dfaa6f2e55b736adf2719133996f7e7dc309bc;hp=2cc7b5a1606a089b0346d0e8d53a914929bdde8e;hpb=9468482bd4c3b89abe04a770848d5eaa1ea830b0;p=linux-2.6-omap-h63xx.git diff --git a/drivers/scsi/osst.h b/drivers/scsi/osst.h index 2cc7b5a1606..5aa22740b5d 100644 --- a/drivers/scsi/osst.h +++ b/drivers/scsi/osst.h @@ -4,6 +4,7 @@ #include #include +#include /* FIXME - rename and use the following two types or delete them! * and the types really should go to st.h anyway... @@ -532,7 +533,7 @@ struct osst_tape { struct scsi_driver *driver; unsigned capacity; struct scsi_device *device; - struct semaphore lock; /* for serialization */ + struct mutex lock; /* for serialization */ struct completion wait; /* for SCSI commands */ struct osst_buffer * buffer;