summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-cr0014114.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-cr0014114.c')
-rw-r--r--drivers/leds/leds-cr0014114.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-cr0014114.c b/drivers/leds/leds-cr0014114.c
index b33bca397e..c9914fc51f 100644
--- a/drivers/leds/leds-cr0014114.c
+++ b/drivers/leds/leds-cr0014114.c
@@ -56,7 +56,7 @@ struct cr0014114 {
struct spi_device *spi;
u8 *buf;
unsigned long delay;
- struct cr0014114_led leds[];
+ struct cr0014114_led leds[] __counted_by(count);
};
static void cr0014114_calc_crc(u8 *buf, const size_t len)