summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/da9062-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/da9062-regulator.c')
-rw-r--r--drivers/regulator/da9062-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/da9062-regulator.c b/drivers/regulator/da9062-regulator.c
index d3ce0278bfbe..d8112f56e94e 100644
--- a/drivers/regulator/da9062-regulator.c
+++ b/drivers/regulator/da9062-regulator.c
@@ -73,7 +73,7 @@ struct da9062_regulators {
int irq_ldo_lim;
unsigned n_regulators;
/* Array size to be defined during init. Keep at end. */
- struct da9062_regulator regulator[0];
+ struct da9062_regulator regulator[];
};
/* Regulator operations */