diff options
author | Werner Almesberger <werner@openmoko.org> | 2008-12-08 16:40:32 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-12-08 16:40:32 +0000 |
commit | cf97ca4b1c88e0c427d847f6a2faf5b4b33882a5 (patch) | |
tree | c6163f87795a818b5c124b9a1d6843d73bec2abe /arch/arm/mach-s3c2410 | |
parent | 1e3a171e17224fc4e409b9ed03674cef3f99def3 (diff) |
[PATCH 2_3] S3C24xx: make GPIOs end at H10.eml
S3C24xx: make GPIOs end at H10
At least on 2410 and 2442, GPIOs don't end at G10 but at H10 or
even J12.
Port J is treated as a special case throughout much of the S3C
code, so I'm not sure what the plan is for it now. However, it
seems safe to include port H.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Diffstat (limited to 'arch/arm/mach-s3c2410')
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/gpio-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio-core.h b/arch/arm/mach-s3c2410/include/mach/gpio-core.h index 6c9fbb99ef1..51bc7d1fb5a 100644 --- a/arch/arm/mach-s3c2410/include/mach/gpio-core.h +++ b/arch/arm/mach-s3c2410/include/mach/gpio-core.h @@ -24,7 +24,7 @@ static inline struct s3c_gpio_chip *s3c_gpiolib_getchip(unsigned int pin) { struct s3c_gpio_chip *chip; - if (pin > S3C2410_GPG10) + if (pin > S3C2410_GPH10) return NULL; chip = &s3c24xx_gpios[pin/32]; |