summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-01-11 22:01:45 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-01-11 22:01:45 -0800
commit01c728a246a1072fe9664b91179a47937182b0a0 (patch)
treeca1e1d997284777b28981040dae97ee668aadaee /Documentation
parent554738da71004d96e06fb75f4772dfc3b0f47810 (diff)
parent50a88cb7eddb971077ae7dff76b116747c12c371 (diff)
downloadlinux-3.10-01c728a246a1072fe9664b91179a47937182b0a0.tar.gz
linux-3.10-01c728a246a1072fe9664b91179a47937182b0a0.tar.bz2
linux-3.10-01c728a246a1072fe9664b91179a47937182b0a0.zip
Merge branch 'next' into for-linus
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/input/ff.txt4
-rw-r--r--Documentation/kernel-parameters.txt1
2 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/input/ff.txt b/Documentation/input/ff.txt
index ded4d5f5310..b3867bf49f8 100644
--- a/Documentation/input/ff.txt
+++ b/Documentation/input/ff.txt
@@ -49,7 +49,9 @@ This information is subject to change.
#include <linux/input.h>
#include <sys/ioctl.h>
-unsigned long features[1 + FF_MAX/sizeof(unsigned long)];
+#define BITS_TO_LONGS(x) \
+ (((x) + 8 * sizeof (unsigned long) - 1) / (8 * sizeof (unsigned long)))
+unsigned long features[BITS_TO_LONGS(FF_CNT)];
int ioctl(int file_descriptor, int request, unsigned long *features);
"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 ed45e9802aa..185b6bf0fb8 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
controller
i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
controllers
+ i8042.notimeout [HW] Ignore timeout condition signalled by conroller
i8042.reset [HW] Reset the controller during init and cleanup
i8042.unlock [HW] Unlock (ignore) the keylock