aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/commctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aacraid/commctrl.c')
-rw-r--r--drivers/scsi/aacraid/commctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c
index 1a5bf5724750..645ddd9d9b9e 100644
--- a/drivers/scsi/aacraid/commctrl.c
+++ b/drivers/scsi/aacraid/commctrl.c
@@ -190,7 +190,7 @@ static int open_getadapter_fib(struct aac_dev * dev, void __user *arg)
190 /* 190 /*
191 * Initialize the mutex used to wait for the next AIF. 191 * Initialize the mutex used to wait for the next AIF.
192 */ 192 */
193 init_MUTEX_LOCKED(&fibctx->wait_sem); 193 sema_init(&fibctx->wait_sem, 0);
194 fibctx->wait = 0; 194 fibctx->wait = 0;
195 /* 195 /*
196 * Initialize the fibs and set the count of fibs on 196 * Initialize the fibs and set the count of fibs on