staging: r8188eu: make odm_ConfigRFReg_8188E() static
authorMichael Straube <straube.linux@gmail.com>
Wed, 29 Dec 2021 20:50:49 +0000 (21:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Dec 2021 11:02:25 +0000 (12:02 +0100)
Function odm_ConfigRFReg_8188E() is only used in odm_RegConfig8188E.c.
Make it static.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211229205108.26373-14-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/odm_RegConfig8188E.c
drivers/staging/r8188eu/include/odm_RegConfig8188E.h

index 3f1e30eb1a15da65d691a31506f29d62d997cb3a..a74c05cd97b05349811abfa702640f97ac26ab75 100644 (file)
@@ -3,9 +3,9 @@
 
 #include "../include/odm_precomp.h"
 
-void odm_ConfigRFReg_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr,
-                          u32 Data, enum rf_radio_path RF_PATH,
-                          u32 RegAddr)
+static void odm_ConfigRFReg_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr,
+                                 u32 Data, enum rf_radio_path RF_PATH,
+                                 u32 RegAddr)
 {
        if (Addr == 0xffe) {
                msleep(50);
index 634454bffdb6eab5a846532796f79dcc60045f22..683fa4a079562fcf0a00735109d326d68cc9931e 100644 (file)
@@ -4,9 +4,6 @@
 #ifndef __INC_ODM_REGCONFIG_H_8188E
 #define __INC_ODM_REGCONFIG_H_8188E
 
-void odm_ConfigRFReg_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr, u32 Data,
-                          enum rf_radio_path  RF_PATH, u32 RegAddr);
-
 void odm_ConfigRF_RadioA_8188E(struct odm_dm_struct *pDM_Odm,
                               u32 Addr, u32 Data);