mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
thunderbolt: Use "if USB4" instead of "depends on" in Kconfig
This groups the USB4 options more nicely, and also does not require that every config option lists explicit depends on USB4. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
parent
2c6ea4e2ce
commit
8eabfca523
@ -16,9 +16,10 @@ menuconfig USB4
|
|||||||
To compile this driver a module, choose M here. The module will be
|
To compile this driver a module, choose M here. The module will be
|
||||||
called thunderbolt.
|
called thunderbolt.
|
||||||
|
|
||||||
|
if USB4
|
||||||
|
|
||||||
config USB4_DEBUGFS_WRITE
|
config USB4_DEBUGFS_WRITE
|
||||||
bool "Enable write by debugfs to configuration spaces (DANGEROUS)"
|
bool "Enable write by debugfs to configuration spaces (DANGEROUS)"
|
||||||
depends on USB4
|
|
||||||
help
|
help
|
||||||
Enables writing to device configuration registers through
|
Enables writing to device configuration registers through
|
||||||
debugfs interface.
|
debugfs interface.
|
||||||
@ -28,5 +29,6 @@ config USB4_DEBUGFS_WRITE
|
|||||||
|
|
||||||
config USB4_KUNIT_TEST
|
config USB4_KUNIT_TEST
|
||||||
bool "KUnit tests"
|
bool "KUnit tests"
|
||||||
depends on USB4
|
|
||||||
depends on KUNIT=y
|
depends on KUNIT=y
|
||||||
|
|
||||||
|
endif # USB4
|
||||||
|
Loading…
Reference in New Issue
Block a user