diff options
author | David Phillips <david@yeah.nah.nz> | 2021-05-09 16:54:02 +1200 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2021-05-09 16:54:02 +1200 |
commit | 270c973f4b752e6bf9e977556d37aa61b73135b7 (patch) | |
tree | 7b23825ed7d06612db54e11fbad2eccf14c88b78 | |
parent | f6f5ce12790243833d19a2dcbbbc422b3ad1449d (diff) | |
download | cds9k-270c973f4b752e6bf9e977556d37aa61b73135b7.tar.xz |
Update GPIO driver ngpio
I forgot to raise this to 16 when the register size was also bumped to 16-bit.
-rw-r--r-- | cds9k-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |