aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_drv.h
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-07-19 12:54:05 -0400
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 13:39:13 -0400
commit81ca405aee7e4a1a432c3887bc83ae798fd2cccd (patch)
tree09543baeea93291065a5cdffe3859fb01234c6fa /drivers/bluetooth/btmrvl_drv.h
parent66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf (diff)
Bluetooth: Use __packed annotation for drivers
Use the __packed annotation instead of the __attribute__((packed)). Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_drv.h')
-rw-r--r--drivers/bluetooth/btmrvl_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h
index 872cb6cfcd0d..90bda50dc446 100644
--- a/drivers/bluetooth/btmrvl_drv.h
+++ b/drivers/bluetooth/btmrvl_drv.h
@@ -119,13 +119,13 @@ struct btmrvl_cmd {
119 __le16 ocf_ogf; 119 __le16 ocf_ogf;
120 u8 length; 120 u8 length;
121 u8 data[4]; 121 u8 data[4];
122} __attribute__ ((packed)); 122} __packed;
123 123
124struct btmrvl_event { 124struct btmrvl_event {
125 u8 ec; /* event counter */ 125 u8 ec; /* event counter */
126 u8 length; 126 u8 length;
127 u8 data[4]; 127 u8 data[4];
128} __attribute__ ((packed)); 128} __packed;
129 129
130/* Prototype of global function */ 130/* Prototype of global function */
131 131