Skip to content

Commit

Permalink
ARM: 7271/1: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Stephen Warren authored and Russell King committed Jan 8, 2012
1 parent 356b954 commit ca95023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/include/asm/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ... */
Expand Down

0 comments on commit ca95023

Please sign in to comment.