[PATCH] hwtracing: add HW tracing support menu
From: Randy Dunlap
Date: Tue Oct 03 2017 - 19:27:38 EST
From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
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 <rdunlap@xxxxxxxxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
---
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