Bluetooth: Replace zero-length array with flexible-array member
[linux-2.6-microblaze.git] / drivers / bluetooth / btqca.h
index f5795b1..e16a4d6 100644 (file)
@@ -79,7 +79,7 @@ struct qca_fw_config {
 struct edl_event_hdr {
        __u8 cresp;
        __u8 rtype;
-       __u8 data[0];
+       __u8 data[];
 } __packed;
 
 struct qca_btsoc_version {
@@ -112,12 +112,12 @@ struct tlv_type_nvm {
        __le16 tag_len;
        __le32 reserve1;
        __le32 reserve2;
-       __u8   data[0];
+       __u8   data[];
 } __packed;
 
 struct tlv_type_hdr {
        __le32 type_len;
-       __u8   data[0];
+       __u8   data[];
 } __packed;
 
 enum qca_btsoc_type {