From: John W. Linville Date: Wed, 14 Jul 2010 14:37:32 +0000 (-0400) Subject: iwlwifi: convert new uses of __attribute__ ((packed)) to __packed X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e954099b7910524b7fae831fbf2933bd25cb6d0;p=openwrt%2Fstaging%2Fblogic.git iwlwifi: convert new uses of __attribute__ ((packed)) to __packed Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index a587999d07db..74ad10f830c5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h @@ -1245,7 +1245,7 @@ struct iwl_txfifo_flush_cmd { __le32 fifo_control; __le16 flush_control; __le16 reserved; -} __attribute__ ((packed)); +} __packed; /* * REPLY_WEP_KEY = 0x20 @@ -3547,7 +3547,7 @@ struct iwl_sensitivity_cmd { struct iwl_enhance_sensitivity_cmd { __le16 control; /* always use "1" */ __le16 enhance_table[ENHANCE_HD_TABLE_SIZE]; /* use HD_* as index */ -} __attribute__ ((packed)); +} __packed; /**