1 #include <linux/types.h> 2 3 /* platform data for the PL061 GPIO driver */ 4 5 struct pl061_platform_data { 6 /* number of the first GPIO */ 7 unsigned gpio_base; 8 9 /* number of the first IRQ. 10 * If the IRQ functionality in not desired this must be set to 11 * (unsigned) -1. 12 */ 13 unsigned irq_base; 14 15 u8 directions; /* startup directions, 1: out, 0: in */ 16 u8 values; /* startup values */ 17 }; 18