Skip to contentSkip to conversation

ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig

PATCH New Stephen Warren 3 participants 3 messages Jan 5, 2012 – Jan 13, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig

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.

---
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(-)
arch/arm/include/asm/gpio.h +1 -1
index 7151753..c402e9b 100644
@@ -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 ... */
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig

Quoted 9 lines · Stephen Warren

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.

---
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.

#2 lore raw

PATCH 1/1 ARM: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig

In reply to Stephen Warren
Quoted 9 lines · Stephen Warren

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.

---
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.