aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/vexpress-syscfg.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-03-26 14:31:57 +0100
committerArnd Bergmann <[email protected]>2020-03-27 14:26:14 +0100
commitcedb414aa8c31ce2f178ea9dc29b6c0200b9893f (patch)
treec509299df81f2c51293af78c0b1e13c424fbe63e /drivers/misc/vexpress-syscfg.c
parent021249ec6f9623dc79e3874f6a68eba7fe91a3d3 (diff)
parent57c45d4d8a9d78c962e9ddfc4fb2d3210f34f966 (diff)
Merge tag 'scmi-updates-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/drivers
ARM SCMI/SCPI updates for v5.7 1. Abstraction of the scmi transport type from the core protocol driver which enables addition of other transports like SMC/HVC, SPCI and virtio apart from the existing mailbox 2. Miscellaneous fix for minor formatting issues with the kernel-doc style comments 3. Replacement of zero-length array with flexible-array member which is part of tree-wide cleanup * tag 'scmi-updates-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux: misc: vexpress: Replace zero-length array with flexible-array member firmware: arm_scpi: Replace zero-length array with flexible-array member firmware: arm_scmi/perf: Replace zero-length array with flexible-array member firmware: arm_scmi: Replace zero-length array with flexible-array member firmware: arm_scmi: Make scmi core independent of the transport type firmware: arm_scmi: Move macros and helpers to common.h firmware: arm_scmi: Update doc style comments Link: https://lore.kernel.org/r/20200304175247.GA5402@bogus Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/misc/vexpress-syscfg.c')
-rw-r--r--drivers/misc/vexpress-syscfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/vexpress-syscfg.c b/drivers/misc/vexpress-syscfg.c
index 058fcd7f9f01..a431787c0898 100644
--- a/drivers/misc/vexpress-syscfg.c
+++ b/drivers/misc/vexpress-syscfg.c
@@ -42,7 +42,7 @@ struct vexpress_syscfg_func {
struct vexpress_syscfg *syscfg;
struct regmap *regmap;
int num_templates;
- u32 template[0]; /* Keep it last! */
+ u32 template[]; /* Keep it last! */
};