mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8192eu: Replace typedefs for struct adapter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
a8b7b4d54c
commit
202d20077c
140 changed files with 3132 additions and 7948 deletions
|
@ -103,7 +103,7 @@ typedef enum _LED_PIN_871x{
|
|||
}LED_PIN_871x;
|
||||
|
||||
typedef struct _LED_871x{
|
||||
_adapter *padapter;
|
||||
struct adapter *padapter;
|
||||
|
||||
LED_PIN_871x LedPin; // Identify how to implement this SW led.
|
||||
LED_STATE_871x CurrLedState; // Current LED state.
|
||||
|
@ -166,7 +166,7 @@ typedef enum _LED_STRATEGY_871x{
|
|||
|
||||
void
|
||||
LedControl871x(
|
||||
_adapter *padapter,
|
||||
struct adapter *padapter,
|
||||
LED_CTL_MODE LedAction
|
||||
);
|
||||
#endif //defined(CONFIG_USB_HCI) || defined(CONFIG_SDIO_HCI) || defined(CONFIG_GSPI_HCI)
|
||||
|
@ -199,7 +199,7 @@ struct led_priv{
|
|||
LED_871x SwLed1;
|
||||
LED_STRATEGY_871x LedStrategy;
|
||||
u8 bRegUseLed;
|
||||
void (*LedControlHandler)(_adapter *padapter, LED_CTL_MODE LedAction);
|
||||
void (*LedControlHandler)(struct adapter *padapter, LED_CTL_MODE LedAction);
|
||||
/* add for led controll */
|
||||
};
|
||||
|
||||
|
@ -220,7 +220,7 @@ void ResetLedStatus(PLED_871x pLed);
|
|||
|
||||
void
|
||||
InitLed871x(
|
||||
_adapter *padapter,
|
||||
struct adapter *padapter,
|
||||
PLED_871x pLed,
|
||||
LED_PIN_871x LedPin
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue