drivers/net: use __packed annotation
[deliverable/linux.git] / drivers / net / wireless / wl12xx / wl1271_tx.h
index 3b8b7ac253fd544ed594d45f9ea7e74f51e59486..91d0adb0ea4093b1f60516f8588f974b792536f1 100644 (file)
@@ -80,7 +80,7 @@ struct wl1271_tx_hw_descr {
        /* Identifier of the remote STA in IBSS, 1 in infra-BSS */
        u8 aid;
        u8 reserved;
-} __attribute__ ((packed));
+} __packed;
 
 enum wl1271_tx_hw_res_status {
        TX_SUCCESS          = 0,
@@ -115,13 +115,13 @@ struct wl1271_tx_hw_res_descr {
        u8 rate_class_index;
        /* for 4-byte alignment. */
        u8 spare;
-} __attribute__ ((packed));
+} __packed;
 
 struct wl1271_tx_hw_res_if {
        __le32 tx_result_fw_counter;
        __le32 tx_result_host_counter;
        struct wl1271_tx_hw_res_descr tx_results_queue[TX_HW_RESULT_QUEUE_LEN];
-} __attribute__ ((packed));
+} __packed;
 
 static inline int wl1271_tx_get_queue(int queue)
 {
This page took 0.047757 seconds and 5 git commands to generate.