diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-02 14:10:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-03 06:18:23 -0400 |
commit | ba2d3587912f82d1ab4367975b1df460db60fb1e (patch) | |
tree | 1e4e04caf23274bb4e39edbfc5713b4856326953 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 1273d97674a1782ff55b823aa6c40aea9b538aaf (diff) |
drivers/net: use __packed annotation
cleanup patch.
Use new __packed annotation in drivers/net/
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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 | ||