Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751221AbdLIPka (ORCPT ); Sat, 9 Dec 2017 10:40:30 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:33192 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750895AbdLIPk0 (ORCPT ); Sat, 9 Dec 2017 10:40:26 -0500 X-Google-Smtp-Source: AGs4zMbMzxqngDp49ILDlZYJmBKk27cds2TjAecx8w/vz3Fs/RRsDdvHBOU8v/hoj0My8pkQA0BXvg== From: Vincent Legoll To: sagi@grimberg.me, rdunlap@infradead.org, keith.busch@intel.com, linux-kernel@vger.kernel.org Cc: Vincent Legoll Subject: [PATCH] nvme: make NVME a menuconfig to ease disabling it all Date: Sat, 9 Dec 2017 16:40:13 +0100 Message-Id: <20171209154013.5626-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 831 Lines: 33 No need to get into the submenu to disable all related config entries. This makes it easier to disable all NVME config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not change the config dependencies. Signed-off-by: Vincent Legoll --- drivers/nvme/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/nvme/Kconfig b/drivers/nvme/Kconfig index 04008e0bbe81..aad33a0dfbce 100644 --- a/drivers/nvme/Kconfig +++ b/drivers/nvme/Kconfig @@ -1,6 +1,9 @@ -menu "NVME Support" +menuconfig NVME_MENU + bool "NVME Support" + +if NVME_MENU source "drivers/nvme/host/Kconfig" source "drivers/nvme/target/Kconfig" -endmenu +endif # NVME_MENU -- 2.14.1