mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 04:23:39 +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);
|
||||
|
@ -1427,8 +1427,8 @@ SwLedControlMode1(
|
|||
/* Arcadyan/Sitecom , added by chiyoko, 20090216 */
|
||||
static void
|
||||
SwLedControlMode2(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
_adapter *padapter,
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -1592,8 +1592,8 @@ SwLedControlMode2(
|
|||
/* COREGA, added by chiyoko, 20090316 */
|
||||
static void
|
||||
SwLedControlMode3(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
_adapter *padapter,
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -1771,8 +1771,8 @@ SwLedControlMode2(
|
|||
/* Edimax-Belkin, added by chiyoko, 20090413 */
|
||||
static void
|
||||
SwLedControlMode4(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
_adapter *padapter,
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -2103,8 +2103,8 @@ SwLedControlMode4(
|
|||
/* Sercomm-Belkin, added by chiyoko, 20090415 */
|
||||
static void
|
||||
SwLedControlMode5(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
_adapter *padapter,
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -2185,8 +2185,8 @@ SwLedControlMode5(
|
|||
/* WNC-Corega, added by chiyoko, 20090902 */
|
||||
static void
|
||||
SwLedControlMode6(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
_adapter *padapter,
|
||||
enum LED_CTL_MODE LedAction
|
||||
)
|
||||
{
|
||||
struct led_priv *ledpriv = &(padapter->ledpriv);
|
||||
|
@ -2265,8 +2265,8 @@ void BlinkHandler(PLED_871x pLed)
|
|||
|
||||
void
|
||||
LedControl871x(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
_adapter *padapter,
|
||||
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,
|
||||
|
@ -156,8 +156,8 @@ typedef enum _LED_STRATEGY_871x{
|
|||
|
||||
void
|
||||
LedControl871x(
|
||||
_adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
_adapter *padapter,
|
||||
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