summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-el15203000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-el15203000.c')
-rw-r--r--drivers/leds/leds-el15203000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-el15203000.c b/drivers/leds/leds-el15203000.c
index 7e7b617bcd..d40194a302 100644
--- a/drivers/leds/leds-el15203000.c
+++ b/drivers/leds/leds-el15203000.c
@@ -80,7 +80,7 @@ struct el15203000 {
struct spi_device *spi;
unsigned long delay;
size_t count;
- struct el15203000_led leds[];
+ struct el15203000_led leds[] __counted_by(count);
};
#define to_el15203000_led(d) container_of(d, struct el15203000_led, ldev)