diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-01-12 01:01:45 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-01-12 01:01:45 -0500 |
commit | 01c728a246a1072fe9664b91179a47937182b0a0 (patch) | |
tree | ca1e1d997284777b28981040dae97ee668aadaee /Documentation | |
parent | 554738da71004d96e06fb75f4772dfc3b0f47810 (diff) | |
parent | 50a88cb7eddb971077ae7dff76b116747c12c371 (diff) |
Merge branch 'next' into for-linus
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 ed45e9802aa8..185b6bf0fb85 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -884,6 +884,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
884 | controller | 884 | controller |
885 | i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX | 885 | i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX |
886 | controllers | 886 | controllers |
887 | i8042.notimeout [HW] Ignore timeout condition signalled by conroller | ||
887 | i8042.reset [HW] Reset the controller during init and cleanup | 888 | i8042.reset [HW] Reset the controller during init and cleanup |
888 | i8042.unlock [HW] Unlock (ignore) the keylock | 889 | i8042.unlock [HW] Unlock (ignore) the keylock |
889 | 890 | ||