aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/bluetooth.h
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-07-19 02:00:13 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 10:39:13 -0700
commit66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf (patch)
tree7cff1a1c452f0cdd3420523b0f5f966900c2336a /include/net/bluetooth/bluetooth.h
parentd1c4a17d58a6dfacb48935aa430aa986559a885f (diff)
downloadmrst-s0i3-test-66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf.tar.gz
mrst-s0i3-test-66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf.tar.xz
mrst-s0i3-test-66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index d6b150c679f..27a902d9b3a 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}})