From patchwork Tue May 3 06:29:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 67058 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp426552qge; Mon, 2 May 2016 23:31:24 -0700 (PDT) X-Received: by 10.98.28.65 with SMTP id c62mr993742pfc.61.1462257084789; Mon, 02 May 2016 23:31:24 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id us15si2713237pab.53.2016.05.02.23.31.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2016 23:31:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1axTq4-0002Ei-Do; Tue, 03 May 2016 06:29:44 +0000 Received: from conuserg-09.nifty.com ([210.131.2.76]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1axTq0-0002EL-HB for linux-arm-kernel@lists.infradead.org; Tue, 03 May 2016 06:29:41 +0000 Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id u436So2r012230; Tue, 3 May 2016 15:28:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com u436So2r012230 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1462256932; bh=oWU5iosqwzxD0CKorMXbZxeKK9fB6A8hsoNajovjoxM=; h=From:To:Cc:Subject:Date:From; b=Hn6LAjDMiR9Qgzqkv+VcHoGNhPlXfSm1UW0MkaZTEyx6YIqF0lQKrIk3G48NBxDZM YRNUr7imQQRQ72dxdXElYA77pq0ZNtRrSz+/SK0g9sNlZg0UGtgWslTCm3dwr3MDdN xE/XCeD1b865lxc7Vm59PJrq5bxZWyWlHE9A0jtEZTUE+tZqmuFY8lCKKa+l1Bv3JE n2ifQ5KZAuTGyruA5Q1bxg949GDZ70dVgha04AtyNMJRAMlIgF75f2QeWkGzTquFY3 6oYQBxI79aB8CQ3VVe+tjYLovbWJayezRaHqKa84ZJD7Rt4+N5Mid7HTbjAEImMbVN 5Q6WN2mdKWL3w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kernel@vger.kernel.org, Philipp Zabel Subject: [PATCH] reset: fix Kconfig menu to include reset drivers in sub-menu Date: Tue, 3 May 2016 15:29:52 +0900 Message-Id: <1462256992-31063-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160502_232940_933273_0E7BD08B X-CRM114-Status: UNSURE ( 8.02 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@stlinux.com, Arnd Bergmann , Srinivas Kandagatla , Patrice Chotard , Masahiro Yamada , linux-arm-kernel@lists.infradead.org, Maxime Coquelin MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org In "make menuconfig", reset drivers are currently lined up together with the reset sub-system menu, like this: -*- Reset Controller Support ---- < > Hi6220 Reset Driver (It also means, the menu "Reset Controller Support" is always empty.) "Hi6220 Reset Driver" should go into the sub-menu of the "Reset Controller Support". Signed-off-by: Masahiro Yamada --- drivers/reset/Kconfig | 4 ++++ drivers/reset/sti/Kconfig | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index df37212..6a0b24b 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -12,5 +12,9 @@ menuconfig RESET_CONTROLLER If unsure, say no. +if RESET_CONTROLLER + source "drivers/reset/sti/Kconfig" source "drivers/reset/hisilicon/Kconfig" + +endif diff --git a/drivers/reset/sti/Kconfig b/drivers/reset/sti/Kconfig index f8c15a3..6131785 100644 --- a/drivers/reset/sti/Kconfig +++ b/drivers/reset/sti/Kconfig @@ -2,7 +2,6 @@ if ARCH_STI config STI_RESET_SYSCFG bool - select RESET_CONTROLLER config STIH415_RESET bool