diff options
author | Mike Lockwood <lockwood@android.com> | 2008-12-23 10:28:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:43 -0800 |
commit | 653d1290be3bb04688514bec92c11eb6b7c324a7 (patch) | |
tree | 0fec14f71d8d04b838fd079130d1f59b46dc50f7 /drivers/staging/android/timed_gpio.h | |
parent | 99f41131b8d82cde1a84fec5b93ce31632552f0b (diff) |
Staging: android: timed_gpio: Rename android_timed_gpio to timed_gpio
Signed-off-by: Mike Lockwood <lockwood@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/android/timed_gpio.h')
-rw-r--r-- | drivers/staging/android/timed_gpio.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/staging/android/timed_gpio.h b/drivers/staging/android/timed_gpio.h new file mode 100644 index 00000000000..78449b2161c --- /dev/null +++ b/drivers/staging/android/timed_gpio.h @@ -0,0 +1,31 @@ +/* include/linux/timed_gpio.h + * + * Copyright (C) 2008 Google, Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * +*/ + +#ifndef _LINUX_TIMED_GPIO_H +#define _LINUX_TIMED_GPIO_H + +struct timed_gpio { + const char *name; + unsigned gpio; + int max_timeout; + u8 active_low; +}; + +struct timed_gpio_platform_data { + int num_gpios; + struct timed_gpio *gpios; +}; + +#endif |