aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.h
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-01-24 03:37:59 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-01-30 20:35:35 -0500
commit4644151b7208bec9522cad928a7105e0fc04a2b2 (patch)
tree9771f6008d3a20b673a3203ae2aa0a7f2a3734bc /drivers/net/wireless/ipw2200.h
parent2638bc394195f27801d1c184c4358ce25599146b (diff)
[PATCH] ipw2200: Semaphore to mutexes conversion
The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: Ronald Bultje <rbultje@ronald.bitfreak.net> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jeff Garzik <jgarzik@pobox.com> Cc: Yi Zhu <yi.zhu@intel.com> Cc: James Ketrenos <jketreno@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r--drivers/net/wireless/ipw2200.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h
index eedd347b892e..5405ba105abf 100644
--- a/drivers/net/wireless/ipw2200.h
+++ b/drivers/net/wireless/ipw2200.h
@@ -33,6 +33,7 @@
33#include <linux/moduleparam.h> 33#include <linux/moduleparam.h>
34#include <linux/config.h> 34#include <linux/config.h>
35#include <linux/init.h> 35#include <linux/init.h>
36#include <linux/mutex.h>
36 37
37#include <linux/pci.h> 38#include <linux/pci.h>
38#include <linux/netdevice.h> 39#include <linux/netdevice.h>
@@ -1121,7 +1122,7 @@ struct ipw_priv {
1121 struct ieee80211_device *ieee; 1122 struct ieee80211_device *ieee;
1122 1123
1123 spinlock_t lock; 1124 spinlock_t lock;
1124 struct semaphore sem; 1125 struct mutex mutex;
1125 1126
1126 /* basic pci-network driver stuff */ 1127 /* basic pci-network driver stuff */
1127 struct pci_dev *pci_dev; 1128 struct pci_dev *pci_dev;