Fix sparse warning: drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c:25:4: warning: symbol 'ODM_GetRightChnlPlaceforIQK' was not declared. Should it be static? by making it static since it's only used once. Signed-off-by: Miguel Oliveira <cmroliv@xxxxxxxxx> --- drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c b/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c index 7fa744b..d2bcc16 100644 --- a/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c +++ b/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c @@ -22,7 +22,7 @@ #define ODM_TXPWRTRACK_MAX_IDX_88E 6 -u8 ODM_GetRightChnlPlaceforIQK(u8 chnl) +static u8 ODM_GetRightChnlPlaceforIQK(u8 chnl) { u8 channel_all[ODM_TARGET_CHNL_NUM_2G_5G] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel