Staging: bcm: Remove typedef for _LEDColors and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 15 Dec 2012 00:26:53 +0000 (19:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:51:50 +0000 (10:51 -0800)
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 <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/led_control.h

index a06ee71a26ecdb09b90e2deb3eff28e59ea54fcd..c1b44b6ee8570c11266b34bac109286b6d5ec8e0 100644 (file)
 
 #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,