diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-14 19:26:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:51:50 -0800 |
commit | dbe9a7d2d54123af46ad6eb541be5557690604a3 (patch) | |
tree | db82cd55ba37eb535ff7cc77195163d7023b0cef | |
parent | 684fb7e6f0ff07f7d9ad513beabe44efed5bf882 (diff) |
Staging: bcm: Remove typedef for LedStateInfo_t and call directly.
This patch removes typedef for LedStateInfo_t, and changes
the name of the struct to bcm_led_state_info. In addition,
any calls to struct LEDStateInfo, or *pLEDStateInfo 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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/led_control.h b/drivers/staging/bcm/led_control.h index 8b7dcdf5d3b..318932d3e59 100644 --- a/drivers/staging/bcm/led_control.h +++ b/drivers/staging/bcm/led_control.h @@ -59,16 +59,16 @@ typedef enum LedEvents { * Structure which stores the information of different LED types * and corresponding LED state information of driver states */ -typedef struct LedStateInfo_t { +struct bcm_led_state_info { unsigned char LED_Type; /* specify GPIO number - use 0xFF if not used */ unsigned char LED_On_State; /* Bits set or reset for different states */ unsigned char LED_Blink_State; /* Bits set or reset for blinking LEDs for different states */ unsigned char GPIO_Num; unsigned char BitPolarity; /* To represent whether H/W is normal polarity or reverse polarity */ -} LEDStateInfo, *pLEDStateInfo; +}; struct bcm_led_info { - LEDStateInfo LEDState[NUM_OF_LEDS]; + struct bcm_led_state_info LEDState[NUM_OF_LEDS]; bool bIdleMode_tx_from_host; /* Variable to notify whether driver came out from idlemode due to Host or target */ bool bIdle_led_off; wait_queue_head_t notify_led_event; |