summaryrefslogtreecommitdiffstats
path: root/include/linux/greybus/hd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/greybus/hd.h')
-rw-r--r--include/linux/greybus/hd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/greybus/hd.h b/include/linux/greybus/hd.h
index d3faf0c1a569..718e2857054e 100644
--- a/include/linux/greybus/hd.h
+++ b/include/linux/greybus/hd.h
@@ -58,7 +58,7 @@ struct gb_host_device {
struct gb_svc *svc;
/* Private data for the host driver */
- unsigned long hd_priv[0] __aligned(sizeof(s64));
+ unsigned long hd_priv[] __aligned(sizeof(s64));
};
#define to_gb_host_device(d) container_of(d, struct gb_host_device, dev)