From 270c973f4b752e6bf9e977556d37aa61b73135b7 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 9 May 2021 16:54:02 +1200 Subject: Update GPIO driver ngpio I forgot to raise this to 16 when the register size was also bumped to 16-bit. --- cds9k-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds9k-gpio.c b/cds9k-gpio.c index 563f3a0..04c647a 100644 --- a/cds9k-gpio.c +++ b/cds9k-gpio.c @@ -32,7 +32,7 @@ static int cds9k_gpio_probe(struct platform_device *pdev) config.names = config.label = */ - config.ngpio = 8; + config.ngpio = 16; config.reg_dat_base = base + GPIO_REG_PORT; config.reg_set_base = base + GPIO_REG_PORT; config.reg_dir_out_base = base + GPIO_REG_DIR; -- cgit v1.1