diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-20 08:40:15 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-05-20 08:40:15 +0200 |
commit | 924e7a9fc6da124588e27c611841d07047c157b4 (patch) | |
tree | 7f886a9e10666ba3fc0e39b1976e50eb52274178 /include | |
parent | basic_mmio_gpio: convert to platform_{get,set}_drvdata() (diff) | |
download | linux-924e7a9fc6da124588e27c611841d07047c157b4.tar.xz linux-924e7a9fc6da124588e27c611841d07047c157b4.zip |
basic_mmio_gpio: allow overriding number of gpio
Some platforms may have a number of GPIO that is less than the register
width of the peripheral.
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/basic_mmio_gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/basic_mmio_gpio.h b/include/linux/basic_mmio_gpio.h index 198087a16fc4..f23ec73b944b 100644 --- a/include/linux/basic_mmio_gpio.h +++ b/include/linux/basic_mmio_gpio.h @@ -15,6 +15,7 @@ struct bgpio_pdata { int base; + int ngpio; }; #endif /* __BASIC_MMIO_GPIO_H */ |