diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-14 19:26:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:51:50 -0800 |
commit | d078fde369d175eb188c92df07c3163079d8beab (patch) | |
tree | 9c5ae2d5abd7a80784bcc665dddce8cfd58b876a | |
parent | b3d9a8f727d25f08cfccc68b64667085f403e54a (diff) | |
download | op-kernel-dev-d078fde369d175eb188c92df07c3163079d8beab.zip op-kernel-dev-d078fde369d175eb188c92df07c3163079d8beab.tar.gz |
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 <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/bcm/led_control.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/led_control.h b/drivers/staging/bcm/led_control.h index a06ee71..c1b44b6 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, |