[PATCH] irqchip: create a Kconfig menu for irqchip drivers

From: Masahiro Yamada
Date: Wed Jul 26 2017 - 00:04:09 EST


Some irqchip drivers have a Kconfig prompt. When we run menuconfig
or friends, those drivers are directly listed in the "Device Drivers"
menu level. This does not look nice. Create a sub-system level menu.

Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---

drivers/irqchip/Kconfig | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index f1fd5f44d1d4..7b66313a2952 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -1,3 +1,5 @@
+menu "IRQ chip support"
+
config IRQCHIP
def_bool y
depends on OF_IRQ
@@ -306,3 +308,5 @@ config QCOM_IRQ_COMBINER
help
Say yes here to add support for the IRQ combiner devices embedded
in Qualcomm Technologies chips.
+
+endmenu
--
2.7.4