diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-07-19 05:00:13 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-21 17:39:13 (GMT) |
commit | 66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf (patch) | |
tree | 7cff1a1c452f0cdd3420523b0f5f966900c2336a /include/net/bluetooth/bluetooth.h | |
parent | d1c4a17d58a6dfacb48935aa430aa986559a885f (diff) | |
download | linux-fsl-qoriq-66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf.tar.xz |
Bluetooth: Use __packed annotation
To make net/ and include/net/ code consistent use __packed instead of
__attribute__ ((packed)). Bluetooth subsystem was one of the last net
subsys still using __attribute__ ((packed)).
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index d6b150c..27a902d 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h @@ -84,7 +84,7 @@ enum { /* BD Address */ typedef struct { __u8 b[6]; -} __attribute__((packed)) bdaddr_t; +} __packed bdaddr_t; #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}}) #define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}}) |