319-v4.12-0050-brcmfmac-only-build-fwsignal-module-for-CONFIG_BRCMF.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 26ecfe01790381c4caa65ec9cce484c623f092c4 Mon Sep 17 00:00:00 2001
  2. From: Arend Van Spriel <arend.vanspriel@broadcom.com>
  3. Date: Fri, 14 Apr 2017 22:27:37 +0100
  4. Subject: [PATCH] brcmfmac: only build fwsignal module for
  5. CONFIG_BRCMFMAC_PROTO_BCDC
  6. The fwsignal module is only referenced by the bcdc module and part of the
  7. bcdc protocol. So only build it when CONFIG_BRCMFMAC_PROTO_BCDC is selected.
  8. Fixes: acf8ac41dd73 ("brcmfmac: remove reference to fwsignal data from struct brcmf_pub")
  9. Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
  10. Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  11. ---
  12. drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile | 4 ++--
  13. 1 file changed, 2 insertions(+), 2 deletions(-)
  14. --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
  15. +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
  16. @@ -25,7 +25,6 @@ brcmfmac-objs += \
  17. chip.o \
  18. fwil.o \
  19. fweh.o \
  20. - fwsignal.o \
  21. p2p.o \
  22. proto.o \
  23. common.o \
  24. @@ -36,7 +35,8 @@ brcmfmac-objs += \
  25. vendor.o \
  26. pno.o
  27. brcmfmac-$(CPTCFG_BRCMFMAC_PROTO_BCDC) += \
  28. - bcdc.o
  29. + bcdc.o \
  30. + fwsignal.o
  31. brcmfmac-$(CPTCFG_BRCMFMAC_PROTO_MSGBUF) += \
  32. commonring.o \
  33. flowring.o \