From cf97ca4b1c88e0c427d847f6a2faf5b4b33882a5 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 8 Dec 2008 16:40:32 +0000 Subject: [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 --- arch/arm/plat-s3c24xx/gpiolib.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arch/arm/plat-s3c24xx') diff --git a/arch/arm/plat-s3c24xx/gpiolib.c b/arch/arm/plat-s3c24xx/gpiolib.c index 3679323a69c..9f459627b88 100644 --- a/arch/arm/plat-s3c24xx/gpiolib.c +++ b/arch/arm/plat-s3c24xx/gpiolib.c @@ -133,6 +133,16 @@ struct s3c_gpio_chip s3c24xx_gpios[] = { .ngpio = 16, }, }, + [7] = { + .base = S3C24XX_GPIO_BASE(S3C2410_GPH0), + .pm = __gpio_pm(&s3c_gpio_pm_2bit), + .chip = { + .base = S3C2410_GPH0, + .owner = THIS_MODULE, + .label = "GPIOH", + .ngpio = 11, + }, + }, }; static __init int s3c24xx_gpiolib_init(void) -- cgit v1.2.3