aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/greybus/greybus_manifest.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/greybus/greybus_manifest.h')
-rw-r--r--include/linux/greybus/greybus_manifest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/greybus/greybus_manifest.h b/include/linux/greybus/greybus_manifest.h
index 6e62fe478712..bef9eb2093e9 100644
--- a/include/linux/greybus/greybus_manifest.h
+++ b/include/linux/greybus/greybus_manifest.h
@@ -100,7 +100,7 @@ enum {
struct greybus_descriptor_string {
__u8 length;
__u8 id;
- __u8 string[0];
+ __u8 string[];
} __packed;
/*
@@ -175,7 +175,7 @@ struct greybus_manifest_header {
struct greybus_manifest {
struct greybus_manifest_header header;
- struct greybus_descriptor descriptors[0];
+ struct greybus_descriptor descriptors[];
} __packed;
#endif /* __GREYBUS_MANIFEST_H */