HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/chrome-ec/+/33677
Change subject: 3rdparty/chromeec: Move 'static' to the beginning of declaration ......................................................................
3rdparty/chromeec: Move 'static' to the beginning of declaration
Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Change-Id: I97e476167bfa5c44d3c296ecfb4b7f1ff292f0df --- M board/nami/led.c 1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/chrome-ec refs/changes/77/33677/1
diff --git a/board/nami/led.c b/board/nami/led.c index 70d4b0f..a68f2f7 100644 --- a/board/nami/led.c +++ b/board/nami/led.c @@ -102,7 +102,7 @@ * Discharge in S5 Off * Battery Error Amber on 1sec off 1sec */ -const static led_patterns battery_pattern_0 = { +static const led_patterns battery_pattern_0 = { /* discharging: s0, s3, s5 */ {{LED_WHITE, PULSE_NO}, {LED_WHITE, PULSE(20)}, {LED_OFF, PULSE_NO}}, /* charging: s0, s3, s5 */ @@ -119,7 +119,7 @@ * Battery Error Blinking white (0.5 sec On and 0.5 sec Off) * fuel < 10% Blinking white (1 sec On, 1 sec Off) */ -const static led_patterns battery_pattern_1 = { +static const led_patterns battery_pattern_1 = { /* discharging: s0, s3, s5 */ {{LED_OFF, PULSE_NO}, {LED_OFF, PULSE_NO}, {LED_OFF, PULSE_NO}}, /* charging: s0, s3, s5 */ @@ -134,7 +134,7 @@ * System S3 1 second on, 1 second off * System S4/S5 Off */ -const static led_patterns power_pattern_1 = { +static const led_patterns power_pattern_1 = { /* discharging: s0, s3, s5 */ {{LED_WHITE, PULSE_NO}, {LED_WHITE, BLINK(10)}, {LED_OFF, PULSE_NO}}, /* charging: s0, s3, s5 */ @@ -149,7 +149,7 @@ * Connected to AC power / Charging(1% -99%) Amber (solid on) * Not connected to AC power Off */ -const static led_patterns battery_pattern_2 = { +static const led_patterns battery_pattern_2 = { /* discharging: s0, s3, s5 */ {{LED_OFF, PULSE_NO}, {LED_OFF, PULSE_NO}, {LED_OFF, PULSE_NO}}, /* charging: s0, s3, s5 */ @@ -164,7 +164,7 @@ * S3/Lid closed: White Pulsing (Gradual 1sec on, Gradual 1sec off, 2sec off) * S5: Off */ -const static led_patterns power_pattern_2 = { +static const led_patterns power_pattern_2 = { /* discharging: s0, s3, s5 */ {{LED_WHITE, PULSE_NO}, {LED_WHITE, PULSE(20)}, {LED_OFF, PULSE_NO}}, /* charging: s0, s3, s5 */ @@ -182,7 +182,7 @@ * Discharge in S5: Off * Battery Error: Amber on 1sec off 1sec */ -const static led_patterns battery_pattern_3 = { +static const led_patterns battery_pattern_3 = { /* discharging: s0, s3, s5 */ {{LED_WHITE, 0}, {LED_AMBER, ALTERNATE(BLINK(10))}, {LED_OFF, 0}}, /* charging: s0, s3, s5 */