diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-omap/gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/gpio.h b/include/asm-arm/arch-omap/gpio.h index 97b397dd7e87..c782ef9a2ace 100644 --- a/include/asm-arm/arch-omap/gpio.h +++ b/include/asm-arm/arch-omap/gpio.h | |||
@@ -62,6 +62,8 @@ | |||
62 | #define OMAP_MPUIO_LATCH 0x34 | 62 | #define OMAP_MPUIO_LATCH 0x34 |
63 | #endif | 63 | #endif |
64 | 64 | ||
65 | #define OMAP34XX_NR_GPIOS 6 | ||
66 | |||
65 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) | 67 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) |
66 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) | 68 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) |
67 | 69 | ||