Add a patch accepted in 2.6.24-rc1 that was forgotten
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 22 Mar 2008 00:26:24 +0000 (21 21:26 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 22 Mar 2008 00:26:24 +0000 (21 21:26 -0300)
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
16 files changed:
releases/upstream/2.6.24-rc1/0001-sony-laptop-thinkpad-acpi-fix-INPUT-n-build.patch [new file with mode: 0644]
releases/upstream/2.6.24-rc1/0002-drivers-firmware-const-ify-DMI-API-and-internals.patch [moved from releases/upstream/2.6.24-rc1/0001-drivers-firmware-const-ify-DMI-API-and-internals.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0003-hwmon-Convert-from-class_device-to-device.patch [moved from releases/upstream/2.6.24-rc1/0002-hwmon-Convert-from-class_device-to-device.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0004-Map-volume-and-brightness-events-on-thinkpads.patch [moved from releases/upstream/2.6.24-rc1/0003-Map-volume-and-brightness-events-on-thinkpads.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0005-ACPI-thinkpad-acpi-make-room-for-more-features-in.patch [moved from releases/upstream/2.6.24-rc1/0004-ACPI-thinkpad-acpi-make-room-for-more-features-in.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0006-ACPI-thinkpad-acpi-issue-EV_SYNC-after-EV_SWITCH.patch [moved from releases/upstream/2.6.24-rc1/0005-ACPI-thinkpad-acpi-issue-EV_SYNC-after-EV_SWITCH.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0007-ACPI-thinkpad-acpi-add-mutex-based-locking-to-inpu.patch [moved from releases/upstream/2.6.24-rc1/0006-ACPI-thinkpad-acpi-add-mutex-based-locking-to-inpu.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0008-ACPI-thinkpad-acpi-keep-track-of-module-state.patch [moved from releases/upstream/2.6.24-rc1/0007-ACPI-thinkpad-acpi-keep-track-of-module-state.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0009-ACPI-thinkpad-acpi-check-version-of-hot-key-firmwa.patch [moved from releases/upstream/2.6.24-rc1/0008-ACPI-thinkpad-acpi-check-version-of-hot-key-firmwa.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0010-ACPI-thinkpad-acpi-dequeue-all-pending-hot-key-eve.patch [moved from releases/upstream/2.6.24-rc1/0009-ACPI-thinkpad-acpi-dequeue-all-pending-hot-key-eve.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0011-ACPI-thinkpad-acpi-fix-regression-on-HKEY-LID-even.patch [moved from releases/upstream/2.6.24-rc1/0010-ACPI-thinkpad-acpi-fix-regression-on-HKEY-LID-even.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0012-ACPI-thinkpad-acpi-use-a-separate-platform-device.patch [moved from releases/upstream/2.6.24-rc1/0011-ACPI-thinkpad-acpi-use-a-separate-platform-device.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0013-ACPI-thinkpad-acpi-duplicate-driver-attributes-to.patch [moved from releases/upstream/2.6.24-rc1/0012-ACPI-thinkpad-acpi-duplicate-driver-attributes-to.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0014-ACPI-thinkpad-acpi-skip-blanks-before-the-data-whe.patch [moved from releases/upstream/2.6.24-rc1/0013-ACPI-thinkpad-acpi-skip-blanks-before-the-data-whe.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0015-spelling-fixes-Documentation.patch [moved from releases/upstream/2.6.24-rc1/0014-spelling-fixes-Documentation.patch with 100% similarity]
releases/upstream/2.6.24-rc1/0016-typo-fixes.patch [moved from releases/upstream/2.6.24-rc1/0015-typo-fixes.patch with 100% similarity]

diff --git a/releases/upstream/2.6.24-rc1/0001-sony-laptop-thinkpad-acpi-fix-INPUT-n-build.patch b/releases/upstream/2.6.24-rc1/0001-sony-laptop-thinkpad-acpi-fix-INPUT-n-build.patch
new file mode 100644 (file)
index 0000000..54c8751
--- /dev/null
@@ -0,0 +1,48 @@
+From 8a66074c379cacc79168681bf7dea37ad278f5d1 Mon Sep 17 00:00:00 2001
+From: Andreas Herrmann <aherrman@arcor.de>
+Date: Mon, 17 Sep 2007 22:54:34 +0200
+Subject: [PATCH] sony-laptop/thinkpad-acpi: fix INPUT=n build
+
+Build errors if CONFIG_SONY_LAPTOP && !INPUT or
+if CONFIG_THINKPAD_ACPI && !INPUT:
+
+ LD      vmlinux
+    ...
+drivers/built-in.o: In function `sony_laptop_remove_input':
+sony-laptop.c:(.text+0x768fb): undefined reference to `input_unregister_device'
+    ...
+drivers/built-in.o: In function `thinkpad_acpi_module_exit':
+thinkpad_acpi.c:(.text+0x78c1b): undefined reference to `input_free_device'
+    ...
+
+Signed-off-by: Andreas Herrmann <aherrman@arcor.de>
+Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
+Acked-by: Mattia Dongili <malattia@linux.it>
+Signed-off-by: Len Brown <len.brown@intel.com>
+---
+ drivers/misc/Kconfig |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
+index 73e248f..7b580c3 100644
+--- a/drivers/misc/Kconfig
++++ b/drivers/misc/Kconfig
+@@ -134,6 +134,7 @@ config SONY_LAPTOP
+       tristate "Sony Laptop Extras"
+       depends on X86 && ACPI
+       select BACKLIGHT_CLASS_DEVICE
++      depends on INPUT
+         ---help---
+         This mini-driver drives the SNC and SPIC devices present in the ACPI
+         BIOS of the Sony Vaio laptops.
+@@ -156,6 +157,7 @@ config THINKPAD_ACPI
+       select BACKLIGHT_CLASS_DEVICE
+       select HWMON
+       select NVRAM
++      depends on INPUT
+       ---help---
+         This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
+         support for Fn-Fx key combinations, Bluetooth control, video
+-- 
+1.5.4.4
+