Add patches accepted for 2.6.23-rc1
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / releases / upstream / 2.6.23-rc1 / 0015-ACPI-thinkpad-acpi-checkpoint-sysfs-interface-vers.patch
blob39587884a79297ab0fcd800b2d3b4bc55217f58c
1 From 741553c2d29b4075d636a38792c05cd2fc62bd8a Mon Sep 17 00:00:00 2001
2 From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
3 Date: Wed, 18 Jul 2007 23:45:39 -0300
4 Subject: ACPI: thinkpad-acpi: checkpoint sysfs interface version due to input layer
6 The change in the way hotkey events are handled by default, and the use of
7 the input layer for the hotkey events are important enough features to
8 warrant increasing the major field of the sysfs interface version.
10 Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
11 Signed-off-by: Len Brown <len.brown@intel.com>
12 ---
13 Documentation/thinkpad-acpi.txt | 4 ++++
14 drivers/misc/thinkpad_acpi.c | 2 +-
15 2 files changed, 5 insertions(+), 1 deletions(-)
17 diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt
18 index 5b59cf5..c670363 100644
19 --- a/Documentation/thinkpad-acpi.txt
20 +++ b/Documentation/thinkpad-acpi.txt
21 @@ -1157,3 +1157,7 @@ Sysfs interface changelog:
22 device.
23 0x000200: Hot key support for 32 hot keys, and radio slider switch
24 support.
25 +0x010000: Hot keys are now handled by default over the input
26 + layer, the radio switch generates input event EV_RADIO,
27 + and the driver enables hot key handling by default in
28 + the firmware.
29 diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
30 index cfef218..c1e6a01 100644
31 --- a/drivers/misc/thinkpad_acpi.c
32 +++ b/drivers/misc/thinkpad_acpi.c
33 @@ -22,7 +22,7 @@
36 #define IBM_VERSION "0.14"
37 -#define TPACPI_SYSFS_VERSION 0x000200
38 +#define TPACPI_SYSFS_VERSION 0x010000
41 * Changelog:
42 --
43 1.5.2.1