diff options
Diffstat (limited to 'include/linux/twl6040-vib.h')
-rw-r--r-- | include/linux/twl6040-vib.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/twl6040-vib.h b/include/linux/twl6040-vib.h new file mode 100644 index 00000000000..0a85a67afe2 --- /dev/null +++ b/include/linux/twl6040-vib.h @@ -0,0 +1,30 @@ +/* drivers/misc/twl6040-vib.h + * + * Copyright (C) 2010 Texas Instruments, Inc. + * Copyright (C) 2008 Google, Inc. + * Author: Dan Murphy <dmurphy@ti.com> + * + * 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. + * + * Derived from: vib-gpio.h + */ + +#ifndef _LINUX_TWL6040_VIB_H +#define _LINUX_TWL6040_VIB_H + +#ifdef __KERNEL__ + +#define VIB_NAME "vib-twl6040" + +#endif /* __KERNEL__ */ + +void vibrator_haptic_fire(int value); + +#endif /* _LINUX_TWL6040_VIB_H */ |