diff options
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index af9007d498ee..74355f2eca00 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -413,7 +413,7 @@ typedef struct _MPT_IOCTL { | |||
413 | u8 status; /* current command status */ | 413 | u8 status; /* current command status */ |
414 | u8 reset; /* 1 if bus reset allowed */ | 414 | u8 reset; /* 1 if bus reset allowed */ |
415 | u8 target; /* target for reset */ | 415 | u8 target; /* target for reset */ |
416 | struct semaphore sem_ioc; | 416 | struct mutex ioctl_mutex; |
417 | } MPT_IOCTL; | 417 | } MPT_IOCTL; |
418 | 418 | ||
419 | #define MPT_SAS_MGMT_STATUS_RF_VALID 0x02 /* The Reply Frame is VALID */ | 419 | #define MPT_SAS_MGMT_STATUS_RF_VALID 0x02 /* The Reply Frame is VALID */ |
@@ -421,7 +421,7 @@ typedef struct _MPT_IOCTL { | |||
421 | #define MPT_SAS_MGMT_STATUS_TM_FAILED 0x40 /* User TM request failed */ | 421 | #define MPT_SAS_MGMT_STATUS_TM_FAILED 0x40 /* User TM request failed */ |
422 | 422 | ||
423 | typedef struct _MPT_SAS_MGMT { | 423 | typedef struct _MPT_SAS_MGMT { |
424 | struct semaphore mutex; | 424 | struct mutex mutex; |
425 | struct completion done; | 425 | struct completion done; |
426 | u8 reply[MPT_DEFAULT_FRAME_SIZE]; /* reply frame data */ | 426 | u8 reply[MPT_DEFAULT_FRAME_SIZE]; /* reply frame data */ |
427 | u8 status; /* current command status */ | 427 | u8 status; /* current command status */ |