[PATCH 10/11] Staging: bcm: Remove typedef for _LEDColors and call directly.

Kevin McKinney klmckinney1 at gmail.com
Sat Dec 15 00:26:53 UTC 2012


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 at gmail.com>
---
 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 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,
-- 
1.7.9.5




More information about the devel mailing list