diff options
Diffstat (limited to 'drivers/scsi/osst.h')
-rw-r--r-- | drivers/scsi/osst.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
4 | 4 | ||
5 | #include <asm/byteorder.h> | 5 | #include <asm/byteorder.h> |
6 | #include <linux/completion.h> | 6 | #include <linux/completion.h> |
7 | #include <linux/mutex.h> | ||
7 | 8 | ||
8 | /* FIXME - rename and use the following two types or delete them! | 9 | /* FIXME - rename and use the following two types or delete them! |
9 | * and the types really should go to st.h anyway... | 10 | * and the types really should go to st.h anyway... |
@@ -532,7 +533,7 @@ struct osst_tape { | |||
532 | struct scsi_driver *driver; | 533 | struct scsi_driver *driver; |
533 | unsigned capacity; | 534 | unsigned capacity; |
534 | struct scsi_device *device; | 535 | struct scsi_device *device; |
535 | struct semaphore lock; /* for serialization */ | 536 | struct mutex lock; /* for serialization */ |
536 | struct completion wait; /* for SCSI commands */ | 537 | struct completion wait; /* for SCSI commands */ |
537 | struct osst_buffer * buffer; | 538 | struct osst_buffer * buffer; |
538 | 539 | ||