ath9k_htc: Update to upstream's commit d19607454d656cb14d8c16dfbf161eebb542e8fe dated...
[linux-libre-firmware.git] / ath9k_htc / target_firmware / magpie_fw_dev / target / wmi / wmi_internal.h
index 123f2e0237ef31860563a78cfdf02fe8f51457f4..d9480c4a37ab0ad584a9c03e79ba20bb369f8d70 100755 (executable)
  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 /*
- * @File: 
- * 
+ * @File:
+ *
  * @Abstract: internal data and structure definitions for WMI service
- * 
- * @Notes: 
+ *
+ * @Notes:
  */
 
 #ifndef WMI_INTERNAL_H_
@@ -68,7 +68,7 @@
 #endif /* WMI_DEBUG */
 
 #define EVT_PKT_IN_USE        (1 << 0)
-#define EVT_PKT_IS_FREE(e)    !((e)->Flags & EVT_PKT_IN_USE)  
+#define EVT_PKT_IS_FREE(e)    !((e)->Flags & EVT_PKT_IN_USE)
 #define EVT_MARK_FREE(e)      (e)->Flags &= ~EVT_PKT_IN_USE;
 #define EVT_MARK_INUSE(e)     (e)->Flags |= EVT_PKT_IN_USE
 #define IS_EVT_CLASS_BUFFERED(ec)   ((ec) != WMI_EVT_CLASS_DIRECT_BUFFER)
 typedef struct _WMI_POOL_STATE {
        int     MaxAllocation;      /* maximum allocations allowed for this pool */
        int     CurrentAllocation;  /* current allocations outstanding */
-} WMI_POOL_STATE; 
+} WMI_POOL_STATE;
 
 typedef struct _WMI_SVC_CONTEXT {
        htc_handle_t         HtcHandle;
-       pool_handle_t        PoolHandle;    
+       pool_handle_t        PoolHandle;
        int                  PendingEvents;                      /* no. of pending events */
        HTC_SERVICE          WMIControlService;                  /* registered control service */
        HTC_ENDPOINT_ID      ControlEp;                          /* endpoint assigned to us */
        WMI_DISPATCH_TABLE  *pDispatchHead;                      /* dispatch list head ptr  */
-       WMI_DISPATCH_TABLE  *pDispatchTail;                      /* dispatch list tail ptr */   
+       WMI_DISPATCH_TABLE  *pDispatchTail;                      /* dispatch list tail ptr */
 
        // Left a door for extension the structure
        void *pReserved;