OSDN Git Service

iwlwifi: convert new uses of __attribute__ ((packed)) to __packed master-2010-07-14
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Jul 2010 14:37:32 +0000 (10:37 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Jul 2010 17:52:46 +0000 (13:52 -0400)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-commands.h

index a587999..74ad10f 100644 (file)
@@ -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;
 
 
 /**