diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-12-16 09:20:16 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-16 09:20:16 -0500 |
commit | e137478b56fd79c397b5c5c74fc08c049a42835a (patch) | |
tree | 637e2d5e8cbd355a8a06ffa757b5826279cbbf3e /drivers/net/wireless/rtlwifi/rtl8192ce | |
parent | 38cd6b4f52a75926fd81fc85f53f5067dcd809f7 (diff) |
rtlwifi: convert to __packed notation
Use "__packed" instead of "__attribute__ ((packed))"...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-trx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-trx.h b/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-trx.h index 91e13c33351..53d0e0a5af5 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-trx.h +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-trx.h | |||
@@ -535,7 +535,7 @@ struct rx_fwinfo_92c { | |||
535 | u8 sgi_en:1; | 535 | u8 sgi_en:1; |
536 | u8 rxsc:2; | 536 | u8 rxsc:2; |
537 | u8 reserve:4; | 537 | u8 reserve:4; |
538 | } __attribute__ ((packed)); | 538 | } __packed; |
539 | 539 | ||
540 | struct tx_desc_92c { | 540 | struct tx_desc_92c { |
541 | u32 pktsize:16; | 541 | u32 pktsize:16; |
@@ -637,7 +637,7 @@ struct tx_desc_92c { | |||
637 | u32 nextdescaddress64; | 637 | u32 nextdescaddress64; |
638 | 638 | ||
639 | u32 reserve_pass_pcie_mm_limit[4]; | 639 | u32 reserve_pass_pcie_mm_limit[4]; |
640 | } __attribute__ ((packed)); | 640 | } __packed; |
641 | 641 | ||
642 | struct rx_desc_92c { | 642 | struct rx_desc_92c { |
643 | u32 length:14; | 643 | u32 length:14; |
@@ -695,7 +695,7 @@ struct rx_desc_92c { | |||
695 | u32 bufferaddress; | 695 | u32 bufferaddress; |
696 | u32 bufferaddress64; | 696 | u32 bufferaddress64; |
697 | 697 | ||
698 | } __attribute__ ((packed)); | 698 | } __packed; |
699 | 699 | ||
700 | void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw, | 700 | void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw, |
701 | struct ieee80211_hdr *hdr, | 701 | struct ieee80211_hdr *hdr, |