diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-07-19 13:54:05 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-21 10:39:13 -0700 |
commit | 81ca405aee7e4a1a432c3887bc83ae798fd2cccd (patch) | |
tree | 09543baeea93291065a5cdffe3859fb01234c6fa /drivers/bluetooth/btmrvl_drv.h | |
parent | 66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf (diff) | |
download | op-kernel-dev-81ca405aee7e4a1a432c3887bc83ae798fd2cccd.zip op-kernel-dev-81ca405aee7e4a1a432c3887bc83ae798fd2cccd.tar.gz |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h index 872cb6c..90bda50d 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 */ |