From: Randy Dunlap <[email protected]>

Make a "HW tracing support" menu and move 2 entries into it.
(No change in Coresight, which is ARM-specific and is only listed for
ARM & ARM64.)

This makes the Device Drivers menu more consistent and prevents these
drivers from being listed at the top level of the Device Drivers menu.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Alexander Shishkin <[email protected]>
---
 drivers/Kconfig           |    4 +---
 drivers/hwtracing/Kconfig |    7 +++++++
 2 files changed, 8 insertions(+), 3 deletions(-)

--- lnx-414-rc3.orig/drivers/Kconfig
+++ lnx-414-rc3/drivers/Kconfig
@@ -196,9 +196,7 @@ source "drivers/dax/Kconfig"
 
 source "drivers/nvmem/Kconfig"
 
-source "drivers/hwtracing/stm/Kconfig"
-
-source "drivers/hwtracing/intel_th/Kconfig"
+source "drivers/hwtracing/Kconfig"
 
 source "drivers/fpga/Kconfig"
 
--- /dev/null
+++ lnx-414-rc3/drivers/hwtracing/Kconfig
@@ -0,0 +1,7 @@
+menu "HW tracing support"
+
+source "drivers/hwtracing/stm/Kconfig"
+
+source "drivers/hwtracing/intel_th/Kconfig"
+
+endmenu


Reply via email to