brcmfmac: include also core.h header in cfg80211.h
authorRafał Miłecki <zajec5@gmail.com>
Sat, 18 Jun 2016 16:49:38 +0000 (18:49 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 29 Jun 2016 16:00:35 +0000 (19:00 +0300)
commitbda9d01427f5b646e332e9e3d4b772477fd23c14
tree10c126a5000ec0af78cff7d3c227e2e710d70be9
parent54264e7ea09a1a1eb78262b71a16f7eb46de2f2f
brcmfmac: include also core.h header in cfg80211.h

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 <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h