summaryrefslogtreecommitdiff
path: root/include/linux/twl6040-vib.h
blob: 0a85a67afe2d7b944506422b75e2a3ca20efdc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 */