aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2410/include
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-11-03 00:29:53 +0100
committerLars-Peter Clausen <lars@metafoo.de>2009-11-03 00:31:54 +0100
commit6b402a65031af570d7696dc545aeb7960ae41b6b (patch)
treed9eb6eb4641994663af7096bbb5755ccdb95ce98 /arch/arm/mach-s3c2410/include
parent9163949be7080375bd6e499ee300f0e842b25a16 (diff)
s3c: Register gpio bank J with gpiolib
This is nonportable and wastes a lot of memory and thus should be replaced with a prober solution asap.
Diffstat (limited to 'arch/arm/mach-s3c2410/include')
-rw-r--r--arch/arm/mach-s3c2410/include/mach/gpio.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio.h b/arch/arm/mach-s3c2410/include/mach/gpio.h
index 15f0b3e7ce6..0b53cad80fe 100644
--- a/arch/arm/mach-s3c2410/include/mach/gpio.h
+++ b/arch/arm/mach-s3c2410/include/mach/gpio.h
@@ -20,10 +20,11 @@
* devices that need GPIO.
*/
-#define ARCH_NR_GPIOS (256 + CONFIG_S3C24XX_GPIO_EXTRA)
+#define ARCH_NR_GPIOS (512 + CONFIG_S3C24XX_GPIO_EXTRA)
#include <asm-generic/gpio.h>
#include <mach/gpio-nrs.h>
#include <mach/gpio-fns.h>
+#include <mach/regs-gpioj.h>
-#define S3C_GPIO_END (S3C2410_GPIO_BANKH + 32)
+#define S3C_GPIO_END (S3C2440_GPIO_BANKJ + 32)