summaryrefslogtreecommitdiff
path: root/kernel/params.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2020-12-08 11:22:17 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2020-12-08 11:22:17 +0530
commitc8bb4520543823a9b3da3861304273dc7232e2c7 (patch)
tree26670815d56dfc89fbe55e77c8e987324b70f95f /kernel/params.c
parentf45f89a778e8a61d9c79405e8c716058b6ba12f2 (diff)
parentf9b0498d29404f230894490d622e57e481c7d45a (diff)
Merge branch 'cpufreq/scmi' into cpufreq/arm/linux-next
Diffstat (limited to 'kernel/params.c')
-rw-r--r--kernel/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/params.c b/kernel/params.c
index 3835fb82c64b..164d79330849 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -530,7 +530,7 @@ struct module_param_attrs
{
unsigned int num;
struct attribute_group grp;
- struct param_attribute attrs[0];
+ struct param_attribute attrs[];
};
#ifdef CONFIG_SYSFS