brcm80211: select WANT_DEV_COREDUMP conditionally for brcmfmac
authorArend van Spriel <arend.vanspriel@broadcom.com>
Thu, 16 May 2019 12:04:11 +0000 (14:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:24:15 +0000 (15:24 +0300)
CONFIG_BRCMDBG selects WANT_DEV_COREDUMP but is only used by
brcmfmac so reflect that in the Kconfig.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/Kconfig

index f44c484556d781f889c2abeee1fa2efe3df6bdc4..a5bf16c4f49518614471515579d91727dd7396e1 100644 (file)
@@ -34,6 +34,6 @@ config BRCM_TRACING
 config BRCMDBG
        bool "Broadcom driver debug functions"
        depends on BRCMSMAC || BRCMFMAC
-       select WANT_DEV_COREDUMP
+       select WANT_DEV_COREDUMP if BRCMFMAC
        ---help---
          Selecting this enables additional code for debug purposes.