drivers/wifi: Use depends instead of if in Kconfig
Cleanup to make the file follow the same convention after USE_MTCL was added and the depends structure was requested instead of the if guards. Signed-off-by: David Ruth <druth@google.com> Change-Id: I3604b394f999b28de4723337b3b6b4e21139c83b Reviewed-on: https://review.coreboot.org/c/coreboot/+/80307 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
committed by
Subrata Banik
parent
ea8330ed81
commit
fe33b2dd86
@@ -23,11 +23,10 @@ config DRIVERS_MTK_WIFI
|
||||
When enabled, add identifiers in ACPI tables to make OS
|
||||
drivers work with certain MediaTek PCI-e WiFi chipsets.
|
||||
|
||||
if DRIVERS_WIFI_GENERIC
|
||||
|
||||
config USE_SAR
|
||||
bool
|
||||
default n
|
||||
depends on DRIVERS_WIFI_GENERIC
|
||||
help
|
||||
Enable it when wifi driver uses SAR configuration feature.
|
||||
|
||||
@@ -58,8 +57,6 @@ config DSAR_SET_NUM
|
||||
help
|
||||
There can be up to 3 optional SAR table sets.
|
||||
|
||||
endif # DRIVERS_WIFI_GENERIC
|
||||
|
||||
config USE_MTCL
|
||||
bool
|
||||
default n
|
||||
|
Reference in New Issue
Block a user