Skip to content

Commit

Permalink
ARM: 6200/1: AT91: Define NR_BUILTIN_GPIO
Browse files Browse the repository at this point in the history
Add definition for NR_BUILTIN_GPIO for AT91 family

Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ryan Mallon authored and Russell King committed Jul 9, 2010
1 parent 7dca334 commit 708ee98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-at91/include/mach/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define PIN_BASE NR_AIC_IRQS

#define MAX_GPIO_BANKS 5
#define NR_BUILTIN_GPIO (PIN_BASE + (MAX_GPIO_BANKS * 32))

/* these pin numbers double as IRQ numbers, like AT91xxx_ID_* values */

Expand Down

0 comments on commit 708ee98

Please sign in to comment.