aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-03 02:38:13 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-03 02:38:13 -0500
commit467832032cc07626880363efa8625719c16c04eb (patch)
treeee9a62c04f0b3106e412bc1b2dd1cea5566d5ca7 /include/linux/input.h
parent66d2a5952eab875f1286e04f738ef029afdaf013 (diff)
parent22763c5cf3690a681551162c15d34d935308c8d7 (diff)
Merge commit 'v2.6.32' into next
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index db563bbac9dd..7be8a6537b57 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -1389,6 +1389,10 @@ extern struct class input_class;
1389 * methods; erase() is optional. set_gain() and set_autocenter() need 1389 * methods; erase() is optional. set_gain() and set_autocenter() need
1390 * only be implemented if driver sets up FF_GAIN and FF_AUTOCENTER 1390 * only be implemented if driver sets up FF_GAIN and FF_AUTOCENTER
1391 * bits. 1391 * bits.
1392 *
1393 * Note that playback(), set_gain() and set_autocenter() are called with
1394 * dev->event_lock spinlock held and interrupts off and thus may not
1395 * sleep.
1392 */ 1396 */
1393struct ff_device { 1397struct ff_device {
1394 int (*upload)(struct input_dev *dev, struct ff_effect *effect, 1398 int (*upload)(struct input_dev *dev, struct ff_effect *effect,