From e137478b56fd79c397b5c5c74fc08c049a42835a Mon Sep 17 00:00:00 2001 From: "John W. Linville" Date: Thu, 16 Dec 2010 09:20:16 -0500 Subject: rtlwifi: convert to __packed notation Use "__packed" instead of "__attribute__ ((packed))"... Signed-off-by: John W. Linville --- drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-trx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce') 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 { u8 sgi_en:1; u8 rxsc:2; u8 reserve:4; -} __attribute__ ((packed)); +} __packed; struct tx_desc_92c { u32 pktsize:16; @@ -637,7 +637,7 @@ struct tx_desc_92c { u32 nextdescaddress64; u32 reserve_pass_pcie_mm_limit[4]; -} __attribute__ ((packed)); +} __packed; struct rx_desc_92c { u32 length:14; @@ -695,7 +695,7 @@ struct rx_desc_92c { u32 bufferaddress; u32 bufferaddress64; -} __attribute__ ((packed)); +} __packed; void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw, struct ieee80211_hdr *hdr, -- cgit v1.2.3-70-g09d2