Commit 48ac0ca5 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Properly format comments as needed in led_control.h

This patch formats all comments, and remove them
as needed in led_control.h.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 67c66038
#ifndef _LED_CONTROL_H #ifndef _LED_CONTROL_H
#define _LED_CONTROL_H #define _LED_CONTROL_H
/*************************TYPE DEF**********************/
#define NUM_OF_LEDS 4 #define NUM_OF_LEDS 4
#define DSD_START_OFFSET 0x0200 #define DSD_START_OFFSET 0x0200
#define EEPROM_VERSION_OFFSET 0x020E #define EEPROM_VERSION_OFFSET 0x020E
...@@ -34,13 +33,12 @@ ...@@ -34,13 +33,12 @@
#define B_ULONG32 unsigned long #define B_ULONG32 unsigned long
/*******************************************************/
typedef enum _LEDColors { typedef enum _LEDColors {
RED_LED = 1, RED_LED = 1,
BLUE_LED = 2, BLUE_LED = 2,
YELLOW_LED = 3, YELLOW_LED = 3,
GREEN_LED = 4 GREEN_LED = 4
} LEDColors; /*Enumerated values of different LED types*/ } LEDColors; /* Enumerated values of different LED types */
typedef enum LedEvents { typedef enum LedEvents {
SHUTDOWN_EXIT = 0x00, SHUTDOWN_EXIT = 0x00,
...@@ -71,7 +69,7 @@ typedef struct LedStateInfo_t { ...@@ -71,7 +69,7 @@ typedef struct LedStateInfo_t {
typedef struct _LED_INFO_STRUCT { typedef struct _LED_INFO_STRUCT {
LEDStateInfo LEDState[NUM_OF_LEDS]; LEDStateInfo LEDState[NUM_OF_LEDS];
BOOLEAN bIdleMode_tx_from_host; /* Variable to notify whether driver came out from idlemode due to Host or target*/ BOOLEAN bIdleMode_tx_from_host; /* Variable to notify whether driver came out from idlemode due to Host or target */
BOOLEAN bIdle_led_off; BOOLEAN bIdle_led_off;
wait_queue_head_t notify_led_event; wait_queue_head_t notify_led_event;
wait_queue_head_t idleModeSyncEvent; wait_queue_head_t idleModeSyncEvent;
...@@ -82,8 +80,8 @@ typedef struct _LED_INFO_STRUCT { ...@@ -82,8 +80,8 @@ typedef struct _LED_INFO_STRUCT {
} LED_INFO_STRUCT, *PLED_INFO_STRUCT; } LED_INFO_STRUCT, *PLED_INFO_STRUCT;
/* LED Thread state. */ /* LED Thread state. */
#define BCM_LED_THREAD_DISABLED 0 /* LED Thread is not running. */ #define BCM_LED_THREAD_DISABLED 0 /* LED Thread is not running. */
#define BCM_LED_THREAD_RUNNING_ACTIVELY 1 /* LED thread is running. */ #define BCM_LED_THREAD_RUNNING_ACTIVELY 1 /* LED thread is running. */
#define BCM_LED_THREAD_RUNNING_INACTIVELY 2 /*LED thread has been put on hold*/ #define BCM_LED_THREAD_RUNNING_INACTIVELY 2 /* LED thread has been put on hold */
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment