brcmfmac: conditionally compile firmware protocol source code
authorArend van Spriel <[email protected]>
Thu, 11 Sep 2014 20:51:31 +0000 (22:51 +0200)
committerJohn W. Linville <[email protected]>
Mon, 15 Sep 2014 19:09:26 +0000 (15:09 -0400)
commitf1d56039b58f6f786450a858b2c8d2459a3382cc
tree2566ab263d36c19b8453d7688dc8c0b61ac32e87
parentfac7d2a3b8798f8b58004c74c4b37b9643b5897a
brcmfmac: conditionally compile firmware protocol source code

The host-interface can select which protocol implementation it
needs. Selecting PCIe will include the msgbuf protocol and selecting
USB and/or SDIO will include the bcdc protocol. The PCIe kconfig
option assures the dependencies for msgbuf are met, ie. HAS_DMA.

Reported-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Franky (Zhenhui) Lin <[email protected]>
Reviewed-by: Hante Meuleman <[email protected]>
Reviewed-by: Daniel (Deognyoun) Kim <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/brcm80211/Kconfig
drivers/net/wireless/brcm80211/brcmfmac/Makefile
drivers/net/wireless/brcm80211/brcmfmac/bcdc.h
drivers/net/wireless/brcm80211/brcmfmac/msgbuf.h