staging: r8188eu: make ResetLedStatus static
The ResetLedStatus function is used only by the led layer. Make it static. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20211226195556.159471-7-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0b8d8a17d6
commit
c87adbe4bf
|
@ -12,7 +12,7 @@ void BlinkWorkItemCallback(struct work_struct *work)
|
|||
BlinkHandler(pLed);
|
||||
}
|
||||
|
||||
void ResetLedStatus(struct LED_871x *pLed)
|
||||
static void ResetLedStatus(struct LED_871x *pLed)
|
||||
{
|
||||
pLed->CurrLedState = RTW_LED_OFF; /* Current LED state. */
|
||||
pLed->bLedOn = false; /* true if LED is ON, false if LED is OFF. */
|
||||
|
|
|
@ -102,8 +102,6 @@ struct led_priv{
|
|||
|
||||
void BlinkWorkItemCallback(struct work_struct *work);
|
||||
|
||||
void ResetLedStatus(struct LED_871x * pLed);
|
||||
|
||||
void rtl8188eu_InitSwLeds(struct adapter *padapter);
|
||||
void rtl8188eu_DeInitSwLeds(struct adapter *padapter);
|
||||
|
||||
|
|
Loading…
Reference in New Issue