]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/net/wireless/iwlwifi/iwl-shared.h
iwlagn: priv->mutex moves to iwl_shared
[mv-sheeva.git] / drivers / net / wireless / iwlwifi / iwl-shared.h
index 1c2c31c15f608e4810e36d1c8f03782655c535d4..33953199ffc6bce93dd910ef01c78b5c6681f302 100644 (file)
@@ -150,6 +150,7 @@ struct iwl_hw_params {
  * @hw_params: see struct iwl_hw_params
  * @workqueue: the workqueue used by all the layers of the driver
  * @lock: protect general shared data
+ * @mutex:
  */
 struct iwl_shared {
 #ifdef CONFIG_IWLWIFI_DEBUG
@@ -165,6 +166,7 @@ struct iwl_shared {
 
        struct workqueue_struct *workqueue;
        spinlock_t lock;
+       struct mutex mutex;
 };
 
 /*Whatever _m is (iwl_trans, iwl_priv, iwl_bus, these macros will work */