commit | 924e7a9fc6da124588e27c611841d07047c157b4 | [log] [tgz] |
---|---|---|
author | Jamie Iles <[email protected]> | Fri May 20 00:40:15 2011 -0600 |
committer | Grant Likely <[email protected]> | Fri May 20 00:40:15 2011 -0600 |
tree | 7f886a9e10666ba3fc0e39b1976e50eb52274178 | |
parent | 4ddb8ae217ad2aae888d00d97c5160f677dd38f4 [diff] [blame] |
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 <[email protected]> Acked-by: Anton Vorontsov <[email protected]> Signed-off-by: Grant Likely <[email protected]>
diff --git a/include/linux/basic_mmio_gpio.h b/include/linux/basic_mmio_gpio.h index 198087a..f23ec73 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 */