Commit 26ecfe01 authored by Arend Van Spriel's avatar Arend Van Spriel Committed by Kalle Valo

brcmfmac: only build fwsignal module for CONFIG_BRCMFMAC_PROTO_BCDC

The fwsignal module is only referenced by the bcdc module and part of the
bcdc protocol. So only build it when CONFIG_BRCMFMAC_PROTO_BCDC is selected.

Fixes: acf8ac41 ("brcmfmac: remove reference to fwsignal data from struct brcmf_pub")
Signed-off-by: default avatarArend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent d074e0b8
...@@ -25,7 +25,6 @@ brcmfmac-objs += \ ...@@ -25,7 +25,6 @@ brcmfmac-objs += \
chip.o \ chip.o \
fwil.o \ fwil.o \
fweh.o \ fweh.o \
fwsignal.o \
p2p.o \ p2p.o \
proto.o \ proto.o \
common.o \ common.o \
...@@ -36,7 +35,8 @@ brcmfmac-objs += \ ...@@ -36,7 +35,8 @@ brcmfmac-objs += \
vendor.o \ vendor.o \
pno.o pno.o
brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) += \ brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) += \
bcdc.o bcdc.o \
fwsignal.o
brcmfmac-$(CONFIG_BRCMFMAC_PROTO_MSGBUF) += \ brcmfmac-$(CONFIG_BRCMFMAC_PROTO_MSGBUF) += \
commonring.o \ commonring.o \
flowring.o \ flowring.o \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment