Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-block.git] / include / linux / amba / pl061.h
CommitLineData
367d6acc 1#include <linux/types.h>
2
1e9c2859
BS
3/* platform data for the PL061 GPIO driver */
4
5struct pl061_platform_data {
6 /* number of the first GPIO */
7 unsigned gpio_base;
8
9 /* number of the first IRQ.
f2ab2ba0 10 * If the IRQ functionality in not desired this must be set to 0.
1e9c2859
BS
11 */
12 unsigned irq_base;
13
14 u8 directions; /* startup directions, 1: out, 0: in */
15 u8 values; /* startup values */
16};