aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_drv.h
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-07-19 13:54:05 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 10:39:13 -0700
commit81ca405aee7e4a1a432c3887bc83ae798fd2cccd (patch)
tree09543baeea93291065a5cdffe3859fb01234c6fa /drivers/bluetooth/btmrvl_drv.h
parentBluetooth: Use __packed annotation (diff)
downloadlinux-dev-81ca405aee7e4a1a432c3887bc83ae798fd2cccd.tar.xz
linux-dev-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/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 {
__le16 ocf_ogf;
u8 length;
u8 data[4];
-} __attribute__ ((packed));
+} __packed;
struct btmrvl_event {
u8 ec; /* event counter */
u8 length;
u8 data[4];
-} __attribute__ ((packed));
+} __packed;
/* Prototype of global function */