From d078fde369d175eb188c92df07c3163079d8beab Mon Sep 17 00:00:00 2001 From: Kevin McKinney Date: Fri, 14 Dec 2012 19:26:53 -0500 Subject: [PATCH] Staging: bcm: Remove typedef for _LEDColors and call directly. This patch removes typedef for _LEDColors, and changes the name of the enum to bcm_led_colors. In addition, any calls to LEDColors are changed to call directly. Signed-off-by: Kevin McKinney Signed-off-by: Greg Kroah-Hartman --- drivers/staging/bcm/led_control.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm/led_control.h b/drivers/staging/bcm/led_control.h index a06ee71a26e..c1b44b6ee85 100644 --- a/drivers/staging/bcm/led_control.h +++ b/drivers/staging/bcm/led_control.h @@ -33,12 +33,12 @@ #define B_ULONG32 unsigned long -typedef enum _LEDColors { +enum bcm_led_colors { RED_LED = 1, BLUE_LED = 2, YELLOW_LED = 3, GREEN_LED = 4 -} LEDColors; /* Enumerated values of different LED types */ +}; enum bcm_led_events { SHUTDOWN_EXIT = 0x00, -- 2.43.2