summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/dtl1_cs.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-07-19 18:54:05 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 19:39:13 +0200
commit81ca405aee7e4a1a432c3887bc83ae798fd2cccd (patch)
tree09543baeea93291065a5cdffe3859fb01234c6fa /drivers/bluetooth/dtl1_cs.c
parentBluetooth: Use __packed annotation (diff)
downloadlinux-81ca405aee7e4a1a432c3887bc83ae798fd2cccd.tar.xz
linux-81ca405aee7e4a1a432c3887bc83ae798fd2cccd.zip
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/dtl1_cs.c')
-rw-r--r--drivers/bluetooth/dtl1_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c
index ef044d55cb25..cbe9e44a42e9 100644
--- a/drivers/bluetooth/dtl1_cs.c
+++ b/drivers/bluetooth/dtl1_cs.c
@@ -104,7 +104,7 @@ typedef struct {
u8 type;
u8 zero;
u16 len;
-} __attribute__ ((packed)) nsh_t; /* Nokia Specific Header */
+} __packed nsh_t; /* Nokia Specific Header */
#define NSHL 4 /* Nokia Specific Header Length */