From: Kevin McKinney Date: Sat, 15 Dec 2012 00:26:53 +0000 (-0500) Subject: Staging: bcm: Remove typedef for _LEDColors and call directly. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d078fde369d175eb188c92df07c3163079d8beab;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/drivers/staging/bcm/led_control.h b/drivers/staging/bcm/led_control.h index a06ee71a26ec..c1b44b6ee857 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,