From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751875AbdGBQJl (ORCPT ); Sun, 2 Jul 2017 12:09:41 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36327 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751635AbdGBQJj (ORCPT ); Sun, 2 Jul 2017 12:09:39 -0400 From: Vincent Legoll To: linux-kernel@vger.kernel.org, mturquette@baylibre.com, sboyd@codeaurora.org, linux-clk@vger.kernel.org Cc: Vincent Legoll Subject: [PATCH] Make Common clock framework a menuconfig to ease disabling it all Date: Sun, 2 Jul 2017 18:09:28 +0200 Message-Id: <1499011768-8046-1-git-send-email-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No need to get into the submenu to disable all common clock framework -related config entries Signed-off-by: Vincent Legoll --- drivers/clk/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 36cfea3..a1b174c 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -19,9 +19,12 @@ config COMMON_CLK Architectures utilizing the common struct clk should select this option. -menu "Common Clock Framework" +menuconfig COMMON_CLK_FRAMEWORK + tristate "Common Clock Framework" depends on COMMON_CLK +if COMMON_CLK_FRAMEWORK + config COMMON_CLK_WM831X tristate "Clock driver for WM831x/2x PMICs" depends on MFD_WM831X @@ -230,4 +233,4 @@ source "drivers/clk/tegra/Kconfig" source "drivers/clk/ti/Kconfig" source "drivers/clk/uniphier/Kconfig" -endmenu +endif # COMMON_CLK_FRAMEWORK -- 2.7.4