Subject: Re: brcmfmac: include also core.h header in cfg80211.h

From: Kalle Valo <[email-masked]>
Date: Wed, 29 Jun 2016 16:01:14 +0000 (UTC)

Rafał Miłecki wrote:
> This header provides two inline functions using struct brcmf_if so we
> need core.h to avoid:
> 
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h: In function ‘ndev_to_prof’:
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:368:13: error: dereferencing pointer to incomplete type
>   return &ifp->vif->profile;
>              ^
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h: In function ‘ndev_to_vif’:
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:374:12: error: dereferencing pointer to incomplete type
>   return ifp->vif;
>             ^
> 
> Signed-off-by: Rafał Miłecki <[email-masked]>

Thanks, 1 patch applied to wireless-drivers-next.git:

bda9d01427f5 brcmfmac: include also core.h header in cfg80211.h

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9185755/