From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Linus Walleij <linus.walleij@linaro.org>, Markus Mayer <mmayer@broadcom.com> Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de Subject: [PATCH] gpio: only enable kona driver on BCM_MOBILE or for compile testing Date: Fri, 21 Feb 2014 14:42:26 +0100 [thread overview] Message-ID: <1392990146-18916-1-git-send-email-u.kleine-koenig@pengutronix.de> (raw) This change makes it easier to configure a kernel for a real machine by not showing the option to enable it at all if COMPILE_TEST is off. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> --- Hello, I'm not sure if and how "Kona" fits into the bcm281xx namespace, but reading through the commit logs of the changes touching drivers/gpio/gpio-bcm-kona.c so far suggests it does. In this case I'd consider it a good idea to mention "bcm281xx" in the help text of GPIO_BCM_KONA. Best regards Uwe drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 903f24d28ba0..7cc68d26320c 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -817,7 +817,7 @@ config GPIO_MSIC config GPIO_BCM_KONA bool "Broadcom Kona GPIO" - depends on OF_GPIO + depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST) help Turn on GPIO support for Broadcom "Kona" chips. -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] gpio: only enable kona driver on BCM_MOBILE or for compile testing Date: Fri, 21 Feb 2014 14:42:26 +0100 [thread overview] Message-ID: <1392990146-18916-1-git-send-email-u.kleine-koenig@pengutronix.de> (raw) This change makes it easier to configure a kernel for a real machine by not showing the option to enable it at all if COMPILE_TEST is off. Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de> --- Hello, I'm not sure if and how "Kona" fits into the bcm281xx namespace, but reading through the commit logs of the changes touching drivers/gpio/gpio-bcm-kona.c so far suggests it does. In this case I'd consider it a good idea to mention "bcm281xx" in the help text of GPIO_BCM_KONA. Best regards Uwe drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 903f24d28ba0..7cc68d26320c 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -817,7 +817,7 @@ config GPIO_MSIC config GPIO_BCM_KONA bool "Broadcom Kona GPIO" - depends on OF_GPIO + depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST) help Turn on GPIO support for Broadcom "Kona" chips. -- 1.8.5.3
next reply other threads:[~2014-02-21 13:42 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-02-21 13:42 Uwe Kleine-König [this message] 2014-02-21 13:42 ` [PATCH] gpio: only enable kona driver on BCM_MOBILE or for compile testing Uwe Kleine-König 2014-02-27 9:16 ` Linus Walleij 2014-02-27 9:16 ` Linus Walleij 2014-02-27 22:11 ` Markus Mayer 2014-02-27 22:11 ` Markus Mayer 2014-09-24 8:06 ` Uwe Kleine-König 2014-09-24 8:06 ` Uwe Kleine-König 2014-09-25 7:51 ` Linus Walleij 2014-09-25 7:51 ` Linus Walleij 2014-02-27 22:20 ` Markus Mayer 2014-02-27 22:20 ` Markus Mayer 2014-02-28 10:27 ` Uwe Kleine-König 2014-02-28 10:27 ` Uwe Kleine-König 2014-02-28 10:59 ` Uwe Kleine-König 2014-02-28 10:59 ` Uwe Kleine-König
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=1392990146-18916-1-git-send-email-u.kleine-koenig@pengutronix.de \ --to=u.kleine-koenig@pengutronix.de \ --cc=kernel@pengutronix.de \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-gpio@vger.kernel.org \ --cc=mmayer@broadcom.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.