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:
Martin Kaiser 2021-12-26 20:55:41 +01:00 committed by Greg Kroah-Hartman
parent 0b8d8a17d6
commit c87adbe4bf
2 changed files with 1 additions and 3 deletions

View File

@ -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. */

View File

@ -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);