mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
[SCSI] sem2mutex: scsi_transport_spi.c
Convert the SCSI transport class code to use a mutex rather than a semaphore. Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
f20139bee4
commit
d158d26167
2 changed files with 6 additions and 6 deletions
|
|
@ -54,7 +54,7 @@ struct spi_transport_attrs {
|
|||
unsigned int support_qas; /* supports quick arbitration and selection */
|
||||
/* Private Fields */
|
||||
unsigned int dv_pending:1; /* Internal flag */
|
||||
struct semaphore dv_sem; /* semaphore to serialise dv */
|
||||
struct mutex dv_mutex; /* semaphore to serialise dv */
|
||||
};
|
||||
|
||||
enum spi_signal_type {
|
||||
|
|
|
|||
Loading…
Reference in a new issue