From 25aa1c13dd0f46a3444673cffedffe4543404330 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 28 Jul 2017 13:11:53 -0700 Subject: [PATCH] eve: Move enums before declarations in led.c Signed-off-by: Stefan Reinauer BUG=none BRANCH=none TEST=USE=coreboot-sdk emerge-eve chromeos-ec compiles successfully Change-Id: Ib068a935bd80ee57388ffcb707b4a2684f7b6d5a Reviewed-on: https://chromium-review.googlesource.com/592270 Commit-Ready: Stefan Reinauer Tested-by: Stefan Reinauer Reviewed-by: Randall Spangler --- board/eve/led.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/board/eve/led.c b/board/eve/led.c index 9574ff1922..6e64d6baea 100644 --- a/board/eve/led.c +++ b/board/eve/led.c @@ -29,17 +29,6 @@ #define LED_FRAC_BITS 4 #define LED_STEP_MSEC 45 -static int led_debug; -static int double_tap; -static int double_tap_tick_count; -static int led_pattern; -static int led_ticks; -static enum led_color led_current_color; - -const enum ec_led_id supported_led_ids[] = { - EC_LED_ID_LEFT_LED, EC_LED_ID_RIGHT_LED}; -const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids); - /* List of LED colors used */ enum led_color { LED_OFF = 0, @@ -74,6 +63,17 @@ enum led_side { LED_BOTH }; +static int led_debug; +static int double_tap; +static int double_tap_tick_count; +static int led_pattern; +static int led_ticks; +static enum led_color led_current_color; + +const enum ec_led_id supported_led_ids[] = { + EC_LED_ID_LEFT_LED, EC_LED_ID_RIGHT_LED}; +const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids); + /* * LED patterns are described as two phases. Each phase has an associated LED * color and length in beats. The length of each beat is defined by the macro