[ARM] S3C24XX: GPIO: Fix missing GPIOs in gpiolib

The GPG bank has 16 IOs, not 10. Add the missing GPH bank.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
Ben Dooks 2009-05-18 20:10:43 +01:00
Родитель 9c0ec95797
Коммит 5233c178d4
1 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -148,9 +148,18 @@ struct s3c_gpio_chip s3c24xx_gpios[] = {
.base = S3C2410_GPG(0), .base = S3C2410_GPG(0),
.owner = THIS_MODULE, .owner = THIS_MODULE,
.label = "GPIOG", .label = "GPIOG",
.ngpio = 10, .ngpio = 16,
.to_irq = s3c24xx_gpiolib_bankg_toirq, .to_irq = s3c24xx_gpiolib_bankg_toirq,
}, },
}, {
.base = S3C2410_GPHCON,
.pm = __gpio_pm(&s3c_gpio_pm_2bit),
.chip = {
.base = S3C2410_GPH(0),
.owner = THIS_MODULE,
.label = "GPIOH",
.ngpio = 11,
},
}, },
}; };