net: use __packed annotation
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / bluetooth / bnep / bnep.h
index 0d9e506f5d5a76b40b02e2f3e4fdc4138baf25bb..70672544db86940dee12845e0a00752d22e15dda 100644 (file)
@@ -86,26 +86,26 @@ struct bnep_setup_conn_req {
        __u8  ctrl;
        __u8  uuid_size;
        __u8  service[0];
-} __attribute__((packed));
+} __packed;
 
 struct bnep_set_filter_req {
        __u8  type;
        __u8  ctrl;
        __be16 len;
        __u8  list[0];
-} __attribute__((packed));
+} __packed;
 
 struct bnep_control_rsp {
        __u8  type;
        __u8  ctrl;
        __be16 resp;
-} __attribute__((packed));
+} __packed;
 
 struct bnep_ext_hdr {
        __u8  type;
        __u8  len;
        __u8  data[0];
-} __attribute__((packed));
+} __packed;
 
 /* BNEP ioctl defines */
 #define BNEPCONNADD    _IOW('B', 200, int)