提交 5233c178 编写于 作者: B Ben Dooks

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

The GPG bank has 16 IOs, not 10. Add the missing GPH bank.
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 9c0ec957
......@@ -148,9 +148,18 @@ struct s3c_gpio_chip s3c24xx_gpios[] = {
.base = S3C2410_GPG(0),
.owner = THIS_MODULE,
.label = "GPIOG",
.ngpio = 10,
.ngpio = 16,
.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,
},
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册