Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1393082 > unrolled thread
| Started by | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| First post | 2016-05-03 08:40 +0200 |
| Last post | 2016-05-03 12:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] reset: fix Kconfig menu to include reset drivers in sub-menu Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-05-03 08:40 +0200
Re: [PATCH] reset: fix Kconfig menu to include reset drivers in sub-menu Philipp Zabel <p.zabel@pengutronix.de> - 2016-05-03 12:20 +0200
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Date | 2016-05-03 08:40 +0200 |
| Subject | [PATCH] reset: fix Kconfig menu to include reset drivers in sub-menu |
| Message-ID | <ruC9Y-2UG-5@gated-at.bofh.it> |
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 <yamada.masahiro@socionext.com>
---
drivers/reset/Kconfig | 4 ++++
drivers/reset/sti/Kconfig | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
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
--
1.9.1
[toc] | [next] | [standalone]
| From | Philipp Zabel <p.zabel@pengutronix.de> |
|---|---|
| Date | 2016-05-03 12:20 +0200 |
| Subject | Re: [PATCH] reset: fix Kconfig menu to include reset drivers in sub-menu |
| Message-ID | <ruFAT-6ok-39@gated-at.bofh.it> |
| In reply to | #1393082 |
Am Dienstag, den 03.05.2016, 15:29 +0900 schrieb Masahiro Yamada: > 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.) Unless ARCH_HISI is enabled it still will be empty. > "Hi6220 Reset Driver" should go into the sub-menu of the > "Reset Controller Support". > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> > --- > > drivers/reset/Kconfig | 4 ++++ > drivers/reset/sti/Kconfig | 1 - > 2 files changed, 4 insertions(+), 1 deletion(-) > > 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 Looks good to me. ARCH_STI already selects RESET_CONTROLLER and nothing selects COMMON_RESET_HI6220. regards Philipp
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web