diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-20 00:40:15 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-05-20 00:40:15 -0600 |
commit | 924e7a9fc6da124588e27c611841d07047c157b4 (patch) | |
tree | 7f886a9e10666ba3fc0e39b1976e50eb52274178 /include/linux/basic_mmio_gpio.h | |
parent | 4ddb8ae217ad2aae888d00d97c5160f677dd38f4 (diff) |
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/linux/basic_mmio_gpio.h')
-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 198087a16fc..f23ec73b944 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 */ |