summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/bpa10x.c
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/bpa10x.c
parent66c853cc21bd387a9a2109dcf3b3d53cc9ee9edf (diff)
downloadblackbird-op-linux-81ca405aee7e4a1a432c3887bc83ae798fd2cccd.tar.gz
blackbird-op-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/bpa10x.c')
-rw-r--r--drivers/bluetooth/bpa10x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c
index d945cd12433a..751b338d904a 100644
--- a/drivers/bluetooth/bpa10x.c
+++ b/drivers/bluetooth/bpa10x.c
@@ -62,7 +62,7 @@ struct hci_vendor_hdr {
__u8 type;
__le16 snum;
__le16 dlen;
-} __attribute__ ((packed));
+} __packed;
static int bpa10x_recv(struct hci_dev *hdev, int queue, void *buf, int count)
{
OpenPOWER on IntegriCloud