summaryrefslogtreecommitdiffstats
path: root/drivers/atm/idt77252.h
diff options
context:
space:
mode:
authorMatthias Kaehlcke2007-05-23 23:45:45 +0200
committerDavid S. Miller2007-05-25 01:36:45 +0200
commit7e7a2d07b0faf13b2f7ad982c77ca30c9e9ee0e4 (patch)
treed240ffa7be59202626ef8d23ff14cd1718faabb4 /drivers/atm/idt77252.h
parent[IPV6]: Ignore ipv6 events on non-IPV6 capable devices. (diff)
downloadkernel-qcow2-linux-7e7a2d07b0faf13b2f7ad982c77ca30c9e9ee0e4.tar.gz
kernel-qcow2-linux-7e7a2d07b0faf13b2f7ad982c77ca30c9e9ee0e4.tar.xz
kernel-qcow2-linux-7e7a2d07b0faf13b2f7ad982c77ca30c9e9ee0e4.zip
[ATM]: Use mutex instead of binary semaphore in idt77252 driver.
Use mutex instead of binary semaphore in idt77252 driver. 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/atm/idt77252.h')
-rw-r--r--drivers/atm/idt77252.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/idt77252.h b/drivers/atm/idt77252.h
index 544b39738291..6f2b4a5875fb 100644
--- a/drivers/atm/idt77252.h
+++ b/drivers/atm/idt77252.h
@@ -37,7 +37,7 @@
#include <linux/ptrace.h>
#include <linux/skbuff.h>
#include <linux/workqueue.h>
-
+#include <linux/mutex.h>
/*****************************************************************************/
/* */
@@ -359,7 +359,7 @@ struct idt77252_dev
unsigned long srambase; /* SAR's sram base address */
void __iomem *fbq[4]; /* FBQ fill addresses */
- struct semaphore mutex;
+ struct mutex mutex;
spinlock_t cmd_lock; /* for r/w utility/sram */
unsigned long softstat;