ath5k: Add proper dependency for ATH5K_AHB
Subsystems (3)
PATCH 1/1 ath5k: Add proper dependency for ATH5K_AHB
The CONFIG_ATH5K_AHB could be enabled on ATH25 system without enabling ATH5K driver itself. This does not make sense because CONFIG_ATH5K_AHB controls object build within drivers/net/wireless/ath/ath5k/ so enabling it without CONFIG_ATH5K brings nothing.
Add proper dependency to CONFIG_ATH5K_AHB.
--- drivers/net/wireless/ath/ath5k/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath5k/Kconfig +1 -1
@@ -54,7 +54,7 @@ config ATH5K_TRACER config ATH5K_AHB bool "Atheros 5xxx AHB bus support" - depends on ATH25 + depends on ATH25 && ATH5K ---help--- This adds support for WiSoC type chipsets of the 5xxx Atheros family.
Signature · 1 line
2.17.1
Quoted 9 lines · Krzysztof Kozlowski
The
CONFIG_ATH5K_AHBcould be enabled on ATH25 system without enabling ATH5K driver itself. This does not make sense becauseCONFIG_ATH5K_AHBcontrols object build withindrivers/net/wireless/ath/ath5k/so enabling it withoutCONFIG_ATH5Kbrings nothing.Add proper dependency to
CONFIG_ATH5K_AHB.Signed-off-by Krzysztof Kozlowski <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
c98cdaef931c ath5k: Add proper dependency for ATH5K_AHB
Signature · 3 lines
https://patchwork.kernel.org/patch/11401313/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches