mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 14:03:40 +00:00
rtl8188eu: Convert typedef LED_CTL_MODE to enum LED_CTL_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2e6130080e
commit
9d0ff170d0
2 changed files with 19 additions and 19 deletions
|
@ -1047,7 +1047,7 @@ SwLedBlink6(
|
|||
static void
|
||||
SwLedControlMode0(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -1162,7 +1162,7 @@ SwLedControlMode0(
|
|||
static void
|
||||
SwLedControlMode1(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -1428,7 +1428,7 @@ SwLedControlMode1(
|
|||
static void
|
||||
SwLedControlMode2(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -1593,7 +1593,7 @@ SwLedControlMode2(
|
|||
static void
|
||||
SwLedControlMode3(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -1772,7 +1772,7 @@ SwLedControlMode2(
|
|||
static void
|
||||
SwLedControlMode4(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -2104,7 +2104,7 @@ SwLedControlMode4(
|
|||
static void
|
||||
SwLedControlMode5(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -2186,7 +2186,7 @@ SwLedControlMode5(
|
|||
static void
|
||||
SwLedControlMode6(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -2266,7 +2266,7 @@ void BlinkHandler(PLED_871x pLed)
|
|||
void
|
||||
LedControl871x(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
// 060421, rcnjko: Customized for Sercomm Printer Server case.
|
||||
#define LED_CM3_BLINK_INTERVAL 1500
|
||||
|
||||
typedef enum _LED_CTL_MODE{
|
||||
enum LED_CTL_MODE {
|
||||
LED_CTL_POWER_ON = 1,
|
||||
LED_CTL_LINK = 2,
|
||||
LED_CTL_NO_LINK = 3,
|
||||
|
@ -71,7 +71,7 @@ typedef enum _LED_CTL_MODE{
|
|||
LED_CTL_STOP_WPS_FAIL = 12, //added for ALPHA
|
||||
LED_CTL_STOP_WPS_FAIL_OVERLAP = 13, //added for BELKIN
|
||||
LED_CTL_CONNECTION_NO_TRANSFER = 14,
|
||||
}LED_CTL_MODE;
|
||||
};
|
||||
|
||||
typedef enum _LED_STATE_871x{
|
||||
LED_UNKNOWN = 0,
|
||||
|
@ -157,7 +157,7 @@ typedef enum _LED_STRATEGY_871x{
|
|||
void
|
||||
LedControl871x(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
enum LED_CTL_MODE LedAction
|
||||
);
|
||||
|
||||
struct led_priv{
|
||||
|
@ -166,7 +166,7 @@ struct led_priv{
|
|||
LED_871x SwLed1;
|
||||
LED_STRATEGY_871x LedStrategy;
|
||||
u8 bRegUseLed;
|
||||
void (*LedControlHandler)(_adapter *padapter, LED_CTL_MODE LedAction);
|
||||
void (*LedControlHandler)(_adapter *padapter, enum LED_CTL_MODE LedAction);
|
||||
/* add for led controll */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue