Skip to content

Commit

Permalink
Staging: bcm: Remove typedef for _LEDColors and call directly.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent b3d9a8f commit d078fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/bcm/led_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d078fde

Please sign in to comment.