summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/prism54/islpci_dev.h
diff options
context:
space:
mode:
authorMatthias Kaehlcke <matthias@kaehlcke.net>2008-02-15 20:56:59 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:37:17 -0500
commitf8139218b32e9a68fc6779fa0ce45c5078c23c8a (patch)
treea469cc72903dc998fce586e27fed863ea3c81449 /drivers/net/wireless/prism54/islpci_dev.h
parent6f865c0ab9318cd4c357654e460cb4c9aaf23a92 (diff)
downloadblackbird-op-linux-f8139218b32e9a68fc6779fa0ce45c5078c23c8a.tar.gz
blackbird-op-linux-f8139218b32e9a68fc6779fa0ce45c5078c23c8a.zip
prism54: Convert stats_sem in a mutex
The semaphore stats_sem is used as mutex, convert it to the mutex API Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Acked-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/prism54/islpci_dev.h')
-rw-r--r--drivers/net/wireless/prism54/islpci_dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/islpci_dev.h b/drivers/net/wireless/prism54/islpci_dev.h
index b03a2ab0009b..85ddf89967af 100644
--- a/drivers/net/wireless/prism54/islpci_dev.h
+++ b/drivers/net/wireless/prism54/islpci_dev.h
@@ -88,7 +88,7 @@ typedef struct {
/* Take care of the wireless stats */
struct work_struct stats_work;
- struct semaphore stats_sem;
+ struct mutex stats_lock;
/* remember when we last updated the stats */
unsigned long stats_timestamp;
/* The first is accessed under semaphore locking.
OpenPOWER on IntegriCloud