diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 12:58:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 12:58:14 -0500 |
commit | d24450e2075b9ceeef8ad942e6391bc73eae6933 (patch) | |
tree | f8966325219aa28089f9d3dc944433c5658168ab /Documentation | |
parent | 5cb2fad28fd8f95e911bed8c9342435a5b8e67de (diff) | |
parent | 01c728a246a1072fe9664b91179a47937182b0a0 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: add SW_ROTATE_LOCK switch type
Input: fix force feedback capability query example
Input: wacom_w8001 - add single-touch support
Input: add Austria Microsystem AS5011 joystick driver
Input: remove aaed2000 keyboard driver
Input: i8042 - introduce 'notimeout' blacklist for Dell Vostro V13
Input: cy8ctmg110_ts - Convert to dev_pm_ops
Input: migor_ts - convert to dev_pm_ops
Input: mcs5000_ts - convert to dev_pm_ops
Input: eeti_ts - convert to dev_pm_ops
Input: ad7879 - convert I2C to dev_pm_ops
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/input/ff.txt | 4 | ||||
-rw-r--r-- | Documentation/kernel-parameters.txt | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/input/ff.txt b/Documentation/input/ff.txt index ded4d5f53109..b3867bf49f8f 100644 --- a/Documentation/input/ff.txt +++ b/Documentation/input/ff.txt | |||
@@ -49,7 +49,9 @@ This information is subject to change. | |||
49 | #include <linux/input.h> | 49 | #include <linux/input.h> |
50 | #include <sys/ioctl.h> | 50 | #include <sys/ioctl.h> |
51 | 51 | ||
52 | unsigned long features[1 + FF_MAX/sizeof(unsigned long)]; | 52 | #define BITS_TO_LONGS(x) \ |
53 | (((x) + 8 * sizeof (unsigned long) - 1) / (8 * sizeof (unsigned long))) | ||
54 | unsigned long features[BITS_TO_LONGS(FF_CNT)]; | ||
53 | int ioctl(int file_descriptor, int request, unsigned long *features); | 55 | int ioctl(int file_descriptor, int request, unsigned long *features); |
54 | 56 | ||
55 | "request" must be EVIOCGBIT(EV_FF, size of features array in bytes ) | 57 | "request" must be EVIOCGBIT(EV_FF, size of features array in bytes ) |
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index ed3708f8d0db..5e4d9a65d550 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -888,6 +888,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
888 | controller | 888 | controller |
889 | i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX | 889 | i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX |
890 | controllers | 890 | controllers |
891 | i8042.notimeout [HW] Ignore timeout condition signalled by conroller | ||
891 | i8042.reset [HW] Reset the controller during init and cleanup | 892 | i8042.reset [HW] Reset the controller during init and cleanup |
892 | i8042.unlock [HW] Unlock (ignore) the keylock | 893 | i8042.unlock [HW] Unlock (ignore) the keylock |
893 | 894 | ||