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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux