ar71xx: add a generic GPIO latch driver
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / include / linux / platform_data / gpio-latch.h
1 #ifndef _GPIO_LATCH_H_
2 #define _GPIO_LATCH_H_
3
4 #define GPIO_LATCH_DRIVER_NAME "gpio-latch"
5
6 struct gpio_latch_platform_data {
7 int base;
8 int num_gpios;
9 int *gpios;
10 int le_gpio_index;
11 bool le_active_low;
12 };
13
14 #endif /* _GPIO_LATCH_H_ */