diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2010-05-12 10:22:41 +0300 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-18 19:06:15 +0900 |
commit | a0026418d3d99b68dbd6c91f277d6f764fe41956 (patch) | |
tree | 1c50b1fb2e4838f57b8a611508a453873a9d3186 /arch/arm/mach-s3c2410/include/mach/gpio-track.h | |
parent | fcef85c0c122f90f57f2f3ef0caeaf6404d6e8f3 (diff) | |
download | blackbird-op-linux-a0026418d3d99b68dbd6c91f277d6f764fe41956.tar.gz blackbird-op-linux-a0026418d3d99b68dbd6c91f277d6f764fe41956.zip |
ARM: S3C244X: fix gpiolib port J support
Increase GPIOs number for S3C244X, and make S3C_GPIO_END
point to BANKJ end, otherwise gpiolib refuses to register
BANKJ
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
[ben-linux@fluff.org: Move pm fix to new patch]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2410/include/mach/gpio-track.h')
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/gpio-track.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio-track.h b/arch/arm/mach-s3c2410/include/mach/gpio-track.h index acb259103808..6371eaa5fe4d 100644 --- a/arch/arm/mach-s3c2410/include/mach/gpio-track.h +++ b/arch/arm/mach-s3c2410/include/mach/gpio-track.h @@ -23,7 +23,7 @@ static inline struct s3c_gpio_chip *s3c_gpiolib_getchip(unsigned int pin) { struct s3c_gpio_chip *chip; - if (pin > S3C2410_GPG(10)) + if (pin > S3C_GPIO_END) return NULL; chip = &s3c24xx_gpios[pin/32]; |