Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / android / timed_gpio.h
1 /* include/linux/timed_gpio.h
2 *
3 * Copyright (C) 2008 Google, Inc.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 */
15
16 #ifndef _LINUX_TIMED_GPIO_H
17 #define _LINUX_TIMED_GPIO_H
18
19 struct timed_gpio {
20 const char *name;
21 unsigned gpio;
22 int max_timeout;
23 u8 active_low;
24 };
25
26 struct timed_gpio_platform_data {
27 int num_gpios;
28 struct timed_gpio *gpios;
29 };
30
31 #endif