summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esas2r/esas2r.h
diff options
context:
space:
mode:
authorBinoy Jayan <binoy.jayan@linaro.org>2017-06-08 15:37:31 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-12 21:17:22 -0400
commit249cf320bd5dd3490252cb9f3cdef41f7d1caacc (patch)
treeeddce6a8756bb0d7e902e87dae13292f220b3c36 /drivers/scsi/esas2r/esas2r.h
parent74d2fd488d77ab4ff15a7fe0b3b6900f2382b42b (diff)
downloadtalos-op-linux-249cf320bd5dd3490252cb9f3cdef41f7d1caacc.tar.gz
talos-op-linux-249cf320bd5dd3490252cb9f3cdef41f7d1caacc.zip
scsi: esas2r: Replace semaphore fs_api_semaphore with mutex
The semaphore 'fs_api_semaphore' is used as a simple mutex, so it should be written as one. Semaphores are going away in the future. Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/esas2r/esas2r.h')
-rw-r--r--drivers/scsi/esas2r/esas2r.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/esas2r/esas2r.h b/drivers/scsi/esas2r/esas2r.h
index c5013de964e6..1da6407ee142 100644
--- a/drivers/scsi/esas2r/esas2r.h
+++ b/drivers/scsi/esas2r/esas2r.h
@@ -946,7 +946,7 @@ struct esas2r_adapter {
struct esas2r_mem_desc *vrq_mds;
int num_vrqs;
struct mutex fm_api_mutex;
- struct semaphore fs_api_semaphore;
+ struct mutex fs_api_mutex;
struct semaphore nvram_semaphore;
struct atto_ioctl *local_atto_ioctl;
u8 fw_coredump_buff[ESAS2R_FWCOREDUMP_SZ];
OpenPOWER on IntegriCloud