From: Eric Miao <eric.y.miao@gmail.com>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Cc: Eric Miao <eric.miao@linaro.org>,
Eric Miao <eric.miao@canonical.com>,
Eric Miao <eric.y.miao@gmail.com>,
Richard Purdie <rpurdie@rpsys.net>
Subject: [PATCH] leds: fix the menuconfig being wrongly displayed
Date: Thu, 2 Jun 2011 13:09:14 +0800 [thread overview]
Message-ID: <1306991354-11890-1-git-send-email-eric.y.miao@gmail.com> (raw)
From: Eric Miao <eric.miao@canonical.com>
Seems when a config option does not have a dependency of the menuconfig,
it messes the display of the rest configs, even if it's a hidden one.
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
---
drivers/leds/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 23f0d5e..7066820 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -7,6 +7,8 @@ menuconfig NEW_LEDS
This is not related to standard keyboard LEDs which are controlled
via the input system.
+if NEW_LEDS
+
config LEDS_CLASS
bool "LED Class Support"
depends on NEW_LEDS
@@ -21,8 +23,6 @@ config LEDS_GPIO_REGISTER
As this function is used by arch code it must not be compiled as a
module.
-if NEW_LEDS
-
comment "LED drivers"
config LEDS_88PM860X
--
1.7.4.1
next reply other threads:[~2011-06-02 5:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 5:09 Eric Miao [this message]
2011-06-02 12:57 ` Valdis.Kletnieks
2011-06-02 16:10 ` Eric Miao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1306991354-11890-1-git-send-email-eric.y.miao@gmail.com \
--to=eric.y.miao@gmail.com \
--cc=eric.miao@canonical.com \
--cc=eric.miao@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®