diff options
author | Matthias Kaehlcke <matthias.kaehlcke@gmail.com> | 2007-07-09 13:18:12 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-10 22:18:51 -0700 |
commit | aa4291108f434a183207e645379414270118dccb (patch) | |
tree | c4ee6dbcb1225e065742070284ad0af1a5d07a5e /drivers/net/irda/vlsi_ir.h | |
parent | 6f11df8355e8f59f7572bf6ac1f63d692483b0c6 (diff) | |
download | kernel_samsung_tuna-aa4291108f434a183207e645379414270118dccb.zip kernel_samsung_tuna-aa4291108f434a183207e645379414270118dccb.tar.gz kernel_samsung_tuna-aa4291108f434a183207e645379414270118dccb.tar.bz2 |
[IRDA]: use mutex instead of semaphore in VLSI 82C147 IrDA controller driver
The VLSI 82C147 IrDA controller driver uses a semaphore as mutex. Use the
mutex API instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/vlsi_ir.h')
-rw-r--r-- | drivers/net/irda/vlsi_ir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/vlsi_ir.h b/drivers/net/irda/vlsi_ir.h index 2d3b773..ca12a60 100644 --- a/drivers/net/irda/vlsi_ir.h +++ b/drivers/net/irda/vlsi_ir.h @@ -728,7 +728,7 @@ typedef struct vlsi_irda_dev { struct timeval last_rx; spinlock_t lock; - struct semaphore sem; + struct mutex mtx; u8 resume_ok; struct proc_dir_entry *proc_entry; |