diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index f3f3473c5c7e..a36a6ef45aae 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -157,7 +157,7 @@ struct iwl_queue { | |||
157 | * space more than this */ | 157 | * space more than this */ |
158 | int high_mark; /* high watermark, stop queue if free | 158 | int high_mark; /* high watermark, stop queue if free |
159 | * space less than this */ | 159 | * space less than this */ |
160 | } __attribute__ ((packed)); | 160 | } __packed; |
161 | 161 | ||
162 | /* One for each TFD */ | 162 | /* One for each TFD */ |
163 | struct iwl_tx_info { | 163 | struct iwl_tx_info { |
@@ -343,8 +343,8 @@ struct iwl_device_cmd { | |||
343 | struct iwl_tx_cmd tx; | 343 | struct iwl_tx_cmd tx; |
344 | struct iwl6000_channel_switch_cmd chswitch; | 344 | struct iwl6000_channel_switch_cmd chswitch; |
345 | u8 payload[DEF_CMD_PAYLOAD_SIZE]; | 345 | u8 payload[DEF_CMD_PAYLOAD_SIZE]; |
346 | } __attribute__ ((packed)) cmd; | 346 | } __packed cmd; |
347 | } __attribute__ ((packed)); | 347 | } __packed; |
348 | 348 | ||
349 | #define TFD_MAX_PAYLOAD_SIZE (sizeof(struct iwl_device_cmd)) | 349 | #define TFD_MAX_PAYLOAD_SIZE (sizeof(struct iwl_device_cmd)) |
350 | 350 | ||
@@ -590,7 +590,7 @@ struct iwl_ucode_tlv { | |||
590 | __le16 alternative; /* see comment */ | 590 | __le16 alternative; /* see comment */ |
591 | __le32 length; /* not including type/length fields */ | 591 | __le32 length; /* not including type/length fields */ |
592 | u8 data[0]; | 592 | u8 data[0]; |
593 | } __attribute__ ((packed)); | 593 | } __packed; |
594 | 594 | ||
595 | #define IWL_TLV_UCODE_MAGIC 0x0a4c5749 | 595 | #define IWL_TLV_UCODE_MAGIC 0x0a4c5749 |
596 | 596 | ||