mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-12-04 23:37:35 +00:00
mxm_wifiex: fix wlan_cmd_mfg_otp_rw() build warnings
When build wifi driver based on L6.7 kernel next tree, will observe the following build warning. Need to add static to avoid the build warning. /mwifiex/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:523:13: warning: no previous prototype for ‘wlan_cmd_mfg_otp_rw’ [-Wmissing-prototypes] 523 | mlan_status wlan_cmd_mfg_otp_rw(pmlan_private pmpriv, HostCmd_DS_COMMAND *cmd, | ^~~~~~~~~~~~~~~~~~~ CC [M] /mwifiex/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.o Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
This commit is contained in:
parent
08c1478cb7
commit
a84df58315
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ static mlan_status wlan_cmd_mfg_he_tb_tx(pmlan_private pmpriv, HostCmd_DS_COMMAN
|
|||
* @return MLAN_STATUS_SUCCESS
|
||||
*/
|
||||
|
||||
mlan_status wlan_cmd_mfg_otp_rw(pmlan_private pmpriv, HostCmd_DS_COMMAND *cmd,
|
||||
static mlan_status wlan_cmd_mfg_otp_rw(pmlan_private pmpriv, HostCmd_DS_COMMAND *cmd,
|
||||
t_u16 action, t_void *pdata_buf)
|
||||
{
|
||||
mfg_cmd_otp_mac_addr_rd_wr_t *mcmd =
|
||||
|
|
Loading…
Reference in a new issue