diff options
| author | Doug Zobel <dzobel1@motorola.com> | 2013-12-16 13:15:15 -0600 |
|---|---|---|
| committer | James Wylder <jwylder@motorola.com> | 2014-03-05 17:46:59 -0600 |
| commit | a6d25ae83a8ef2d4b363533c2e10f02d16a13305 (patch) | |
| tree | 4a619b160905f25f17ed0979492e9c86abfe559c /include/linux/vib-gpio.h | |
| parent | 9613c207efd912c864b16fa48cb26e279fdcfa57 (diff) | |
| download | olio-linux-3.10-a6d25ae83a8ef2d4b363533c2e10f02d16a13305.tar.xz olio-linux-3.10-a6d25ae83a8ef2d4b363533c2e10f02d16a13305.zip | |
IKXCLOCK-32 vib-gpio: Integrate into device_tree
Integrate the vib-gpio driver into device_tree
Change-Id: Idb30cc3b8ab8d26acdb18bf29ce7d9f621d4bf48
Reviewed-on: http://gerrit.pcs.mot.com/590173
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jee Su Chang <w20740@motorola.com>
Reviewed-by: Yin-Hu Chen <a1205z@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
Diffstat (limited to 'include/linux/vib-gpio.h')
| -rw-r--r-- | include/linux/vib-gpio.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/linux/vib-gpio.h b/include/linux/vib-gpio.h deleted file mode 100644 index 3706aa0d391..00000000000 --- a/include/linux/vib-gpio.h +++ /dev/null @@ -1,39 +0,0 @@ -/* 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_VIB_GPIO_H -#define _LINUX_VIB_GPIO_H - -#ifdef __KERNEL__ - -#define VIB_GPIO_NAME "vib-gpio" - -struct vib_gpio_platform_data { - int gpio; - int max_timeout; - u8 active_low; - int initial_vibrate; - - int (*init)(void); - void (*exit)(void); - int (*power_on)(void); - int (*power_off)(void); -}; - -#endif /* __KERNEL__ */ - -void vibrator_haptic_fire(int value); - -#endif /* _LINUX_VIB_GPIO_H */ |