mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-16 00:35:33 +00:00
mxm_wifiex: fix woal_process_event_tx_status() and woal_uap_wacp_mode() build warnings
When build wifi driver based on L6.9 kernel next tree, will observe the following build warnings. Need to add static to avoid the build warnings. /mwifiex/mlinux/moal_shim.c:2768:8: warning: no previous prototype for ‘woal_process_event_tx_status’ [-Wmissing-prototypes] 2768 | t_void woal_process_event_tx_status(moal_private *priv, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mwifiex/mlinux/moal_uap.c:2560:5: warning: no previous prototype for ‘woal_uap_wacp_mode’ [-Wmissing-prototypes] 2560 | int woal_uap_wacp_mode(struct net_device *dev, struct ifreq *req) | ^~~~~~~~~~~~~~~~~~ Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
This commit is contained in:
parent
acf8d2a710
commit
33ae3cbc47
2 changed files with 2 additions and 2 deletions
|
@ -2765,7 +2765,7 @@ static mlan_status wlan_process_defer_event(moal_handle *handle,
|
||||||
*
|
*
|
||||||
* @return N/A
|
* @return N/A
|
||||||
*/
|
*/
|
||||||
t_void woal_process_event_tx_status(moal_private *priv,
|
static t_void woal_process_event_tx_status(moal_private *priv,
|
||||||
tx_mgmt_status_event *tx_status)
|
tx_mgmt_status_event *tx_status)
|
||||||
{
|
{
|
||||||
unsigned long flag;
|
unsigned long flag;
|
||||||
|
|
|
@ -2557,7 +2557,7 @@ done:
|
||||||
*
|
*
|
||||||
* @return 0 --success, otherwise fail
|
* @return 0 --success, otherwise fail
|
||||||
*/
|
*/
|
||||||
int woal_uap_wacp_mode(struct net_device *dev, struct ifreq *req)
|
static int woal_uap_wacp_mode(struct net_device *dev, struct ifreq *req)
|
||||||
{
|
{
|
||||||
moal_private *priv = (moal_private *)netdev_priv(dev);
|
moal_private *priv = (moal_private *)netdev_priv(dev);
|
||||||
mlan_ioctl_req *ioctl_req = NULL;
|
mlan_ioctl_req *ioctl_req = NULL;
|
||||||
|
|
Loading…
Reference in a new issue