hwrng: Fix a wrong comment in Documentation/hw_random.txt
[cascardo/linux.git] / drivers / hid / hid-steelseries.c
index 365bc9e..2ed995c 100644 (file)
@@ -23,7 +23,8 @@
 #define SRWS1_NUMBER_LEDS 15
 struct steelseries_srws1_data {
        __u16 led_state;
-       struct led_classdev *led[SRWS1_NUMBER_LEDS];
+       /* the last element is used for setting all leds simultaneously */
+       struct led_classdev *led[SRWS1_NUMBER_LEDS + 1];
 };
 #endif