diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-12-28 06:27:43 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 09:28:52 -0500 |
commit | f317243a8ba1b05338bc03c6606a51021f249a67 (patch) | |
tree | 983ac39dd2b95a33449f91d248bc66f49bff3f7b /drivers/net/wireless/iwlwifi/dvm/commands.h | |
parent | 6ae02f3ef7f20af0237e21a979f66b13198921da (diff) |
iwlwifi: use __packed
Use __packed instead of __attribute__((packed)).
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/commands.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/commands.h b/drivers/net/wireless/iwlwifi/dvm/commands.h index 71ab76b2b39d..0ca99c13f7f2 100644 --- a/drivers/net/wireless/iwlwifi/dvm/commands.h +++ b/drivers/net/wireless/iwlwifi/dvm/commands.h | |||
@@ -3695,7 +3695,7 @@ struct iwl_bt_uart_msg { | |||
3695 | u8 frame5; | 3695 | u8 frame5; |
3696 | u8 frame6; | 3696 | u8 frame6; |
3697 | u8 frame7; | 3697 | u8 frame7; |
3698 | } __attribute__((packed)); | 3698 | } __packed; |
3699 | 3699 | ||
3700 | struct iwl_bt_coex_profile_notif { | 3700 | struct iwl_bt_coex_profile_notif { |
3701 | struct iwl_bt_uart_msg last_bt_uart_msg; | 3701 | struct iwl_bt_uart_msg last_bt_uart_msg; |
@@ -3703,7 +3703,7 @@ struct iwl_bt_coex_profile_notif { | |||
3703 | u8 bt_traffic_load; /* 0 .. 3? */ | 3703 | u8 bt_traffic_load; /* 0 .. 3? */ |
3704 | u8 bt_ci_compliance; /* 0 - not complied, 1 - complied */ | 3704 | u8 bt_ci_compliance; /* 0 - not complied, 1 - complied */ |
3705 | u8 reserved; | 3705 | u8 reserved; |
3706 | } __attribute__((packed)); | 3706 | } __packed; |
3707 | 3707 | ||
3708 | #define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_POS 0 | 3708 | #define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_POS 0 |
3709 | #define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_MSK 0x1 | 3709 | #define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_MSK 0x1 |
@@ -3752,7 +3752,7 @@ enum bt_coex_prio_table_priorities { | |||
3752 | 3752 | ||
3753 | struct iwl_bt_coex_prio_table_cmd { | 3753 | struct iwl_bt_coex_prio_table_cmd { |
3754 | u8 prio_tbl[BT_COEX_PRIO_TBL_EVT_MAX]; | 3754 | u8 prio_tbl[BT_COEX_PRIO_TBL_EVT_MAX]; |
3755 | } __attribute__((packed)); | 3755 | } __packed; |
3756 | 3756 | ||
3757 | #define IWL_BT_COEX_ENV_CLOSE 0 | 3757 | #define IWL_BT_COEX_ENV_CLOSE 0 |
3758 | #define IWL_BT_COEX_ENV_OPEN 1 | 3758 | #define IWL_BT_COEX_ENV_OPEN 1 |
@@ -3764,7 +3764,7 @@ struct iwl_bt_coex_prot_env_cmd { | |||
3764 | u8 action; /* 0 = closed, 1 = open */ | 3764 | u8 action; /* 0 = closed, 1 = open */ |
3765 | u8 type; /* 0 .. 15 */ | 3765 | u8 type; /* 0 .. 15 */ |
3766 | u8 reserved[2]; | 3766 | u8 reserved[2]; |
3767 | } __attribute__((packed)); | 3767 | } __packed; |
3768 | 3768 | ||
3769 | /* | 3769 | /* |
3770 | * REPLY_D3_CONFIG | 3770 | * REPLY_D3_CONFIG |