Avoid beyond bounds copy while caching ACL
[zen-stable.git] / drivers / staging / android / timed_gpio.h
bloba0e15f8be3f717e5aa8c6bb462ef3710b75bbba3
1 /* include/linux/timed_gpio.h
3 * Copyright (C) 2008 Google, Inc.
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.
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.
16 #ifndef _LINUX_TIMED_GPIO_H
17 #define _LINUX_TIMED_GPIO_H
19 #define TIMED_GPIO_NAME "timed-gpio"
21 struct timed_gpio {
22 const char *name;
23 unsigned gpio;
24 int max_timeout;
25 u8 active_low;
28 struct timed_gpio_platform_data {
29 int num_gpios;
30 struct timed_gpio *gpios;
33 #endif