linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig
@ 2012-01-05 20:29 Stephen Warren
  2012-01-05 20:33 ` Russell King - ARM Linux
  2012-01-13  9:55 ` Magnus Damm
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Warren @ 2012-01-05 20:29 UTC (permalink / raw)
  To: linux-arm-kernel

Commit 44986ab "ARM: 7240/1: Make ARCH_NR_GPIO a Kconfig variable"
spelled ARCH_NR_GPIOS as ARCH_NR_GPIO, hence making the change
ineffective. This change fixes that.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
This should probably go into 3.3 since the patch it fixes is there. I
don't think this issue affects any Tegra platform, but I didn't investigate
the other platforms that set CONFIG_ARCH_NR_GPIO by default now.

 arch/arm/include/asm/gpio.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 7151753..c402e9b 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -2,7 +2,7 @@
 #define _ARCH_ARM_GPIO_H
 
 #if CONFIG_ARCH_NR_GPIO > 0
-#define ARCH_NR_GPIO CONFIG_ARCH_NR_GPIO
+#define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO
 #endif
 
 /* not all ARM platforms necessarily support this API ... */
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig
  2012-01-05 20:29 [PATCH] ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig Stephen Warren
@ 2012-01-05 20:33 ` Russell King - ARM Linux
  2012-01-13  9:55 ` Magnus Damm
  1 sibling, 0 replies; 3+ messages in thread
From: Russell King - ARM Linux @ 2012-01-05 20:33 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 05, 2012 at 01:29:30PM -0700, Stephen Warren wrote:
> Commit 44986ab "ARM: 7240/1: Make ARCH_NR_GPIO a Kconfig variable"
> spelled ARCH_NR_GPIOS as ARCH_NR_GPIO, hence making the change
> ineffective. This change fixes that.
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> This should probably go into 3.3 since the patch it fixes is there. I
> don't think this issue affects any Tegra platform, but I didn't investigate
> the other platforms that set CONFIG_ARCH_NR_GPIO by default now.

Bah, I've just sent my first batch of pull requests to Linus.  Oh well,
things can stay as they are until I send the second set roughly half way
through.  Please stick it in the patch system so it doesn't get forgotten.

Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig
  2012-01-05 20:29 [PATCH] ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig Stephen Warren
  2012-01-05 20:33 ` Russell King - ARM Linux
@ 2012-01-13  9:55 ` Magnus Damm
  1 sibling, 0 replies; 3+ messages in thread
From: Magnus Damm @ 2012-01-13  9:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 6, 2012 at 5:29 AM, Stephen Warren <swarren@nvidia.com> wrote:
> Commit 44986ab "ARM: 7240/1: Make ARCH_NR_GPIO a Kconfig variable"
> spelled ARCH_NR_GPIOS as ARCH_NR_GPIO, hence making the change
> ineffective. This change fixes that.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> This should probably go into 3.3 since the patch it fixes is there. I
> don't think this issue affects any Tegra platform, but I didn't investigate
> the other platforms that set CONFIG_ARCH_NR_GPIO by default now.

Thanks for this! We would like to see this included in 3.3 to fix
regressions on most ARM shmobile SoCs.

Acked-by: Magnus Damm <damm@opensource.se>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-13  9:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-05 20:29 [PATCH] ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig Stephen Warren
2012-01-05 20:33 ` Russell King - ARM Linux
2012-01-13  9:55 ` Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).