diff options
| author | Jean Delvare <khali@linux-fr.org> | 2010-10-05 06:08:57 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2010-10-21 10:10:43 -0400 |
| commit | bd9fc3a72345807683a009c1e19dc0d517f0f4e7 (patch) | |
| tree | 40bdb1b25b8936f97148b0e563f87a4887ead164 | |
| parent | 75b2d09a295d3232fdacd0a0a07d91c6f118ca18 (diff) | |
Move hdaps driver to platform/x86
The hdaps driver isn't a hardware monitoring driver, so it shouldn't
live under driver/hwmon. drivers/platform/x86 seems much more
appropriate, as the driver is only useful on x86 laptops.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Frank Seidel <frank@f-seidel.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
| -rw-r--r-- | MAINTAINERS | 4 | ||||
| -rw-r--r-- | drivers/hwmon/Kconfig | 20 | ||||
| -rw-r--r-- | drivers/hwmon/Makefile | 1 | ||||
| -rw-r--r-- | drivers/platform/x86/Kconfig | 20 | ||||
| -rw-r--r-- | drivers/platform/x86/Makefile | 1 | ||||
| -rw-r--r-- | drivers/platform/x86/hdaps.c (renamed from drivers/hwmon/hdaps.c) | 2 |
6 files changed, 24 insertions, 24 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index f2a2b8e647c5..3436e267586d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -2604,10 +2604,10 @@ F: drivers/net/greth* | |||
| 2604 | 2604 | ||
| 2605 | HARD DRIVE ACTIVE PROTECTION SYSTEM (HDAPS) DRIVER | 2605 | HARD DRIVE ACTIVE PROTECTION SYSTEM (HDAPS) DRIVER |
| 2606 | M: Frank Seidel <frank@f-seidel.de> | 2606 | M: Frank Seidel <frank@f-seidel.de> |
| 2607 | L: lm-sensors@lm-sensors.org | 2607 | L: platform-driver-x86@vger.kernel.org |
| 2608 | W: http://www.kernel.org/pub/linux/kernel/people/fseidel/hdaps/ | 2608 | W: http://www.kernel.org/pub/linux/kernel/people/fseidel/hdaps/ |
| 2609 | S: Maintained | 2609 | S: Maintained |
| 2610 | F: drivers/hwmon/hdaps.c | 2610 | F: drivers/platform/x86/hdaps.c |
| 2611 | 2611 | ||
| 2612 | HWPOISON MEMORY FAILURE HANDLING | 2612 | HWPOISON MEMORY FAILURE HANDLING |
| 2613 | M: Andi Kleen <andi@firstfloor.org> | 2613 | M: Andi Kleen <andi@firstfloor.org> |
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 97499d00615a..e382da3122b7 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
| @@ -1088,26 +1088,6 @@ config SENSORS_ULTRA45 | |||
| 1088 | This driver provides support for the Ultra45 workstation environmental | 1088 | This driver provides support for the Ultra45 workstation environmental |
| 1089 | sensors. | 1089 | sensors. |
| 1090 | 1090 | ||
| 1091 | config SENSORS_HDAPS | ||
| 1092 | tristate "IBM Hard Drive Active Protection System (hdaps)" | ||
| 1093 | depends on INPUT && X86 | ||
| 1094 | select INPUT_POLLDEV | ||
| 1095 | default n | ||
| 1096 | help | ||
| 1097 | This driver provides support for the IBM Hard Drive Active Protection | ||
| 1098 | System (hdaps), which provides an accelerometer and other misc. data. | ||
| 1099 | ThinkPads starting with the R50, T41, and X40 are supported. The | ||
| 1100 | accelerometer data is readable via sysfs. | ||
| 1101 | |||
| 1102 | This driver also provides an absolute input class device, allowing | ||
| 1103 | the laptop to act as a pinball machine-esque joystick. | ||
| 1104 | |||
| 1105 | If your ThinkPad is not recognized by the driver, please update to latest | ||
| 1106 | BIOS. This is especially the case for some R52 ThinkPads. | ||
| 1107 | |||
| 1108 | Say Y here if you have an applicable laptop and want to experience | ||
| 1109 | the awesome power of hdaps. | ||
| 1110 | |||
| 1111 | config SENSORS_LIS3_SPI | 1091 | config SENSORS_LIS3_SPI |
| 1112 | tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)" | 1092 | tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)" |
| 1113 | depends on !ACPI && SPI_MASTER && INPUT | 1093 | depends on !ACPI && SPI_MASTER && INPUT |
diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile index e3c2484f6c5f..ec9cb735c898 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile | |||
| @@ -52,7 +52,6 @@ obj-$(CONFIG_SENSORS_G760A) += g760a.o | |||
| 52 | obj-$(CONFIG_SENSORS_GL518SM) += gl518sm.o | 52 | obj-$(CONFIG_SENSORS_GL518SM) += gl518sm.o |
| 53 | obj-$(CONFIG_SENSORS_GL520SM) += gl520sm.o | 53 | obj-$(CONFIG_SENSORS_GL520SM) += gl520sm.o |
| 54 | obj-$(CONFIG_SENSORS_ULTRA45) += ultra45_env.o | 54 | obj-$(CONFIG_SENSORS_ULTRA45) += ultra45_env.o |
| 55 | obj-$(CONFIG_SENSORS_HDAPS) += hdaps.o | ||
| 56 | obj-$(CONFIG_SENSORS_I5K_AMB) += i5k_amb.o | 55 | obj-$(CONFIG_SENSORS_I5K_AMB) += i5k_amb.o |
| 57 | obj-$(CONFIG_SENSORS_IBMAEM) += ibmaem.o | 56 | obj-$(CONFIG_SENSORS_IBMAEM) += ibmaem.o |
| 58 | obj-$(CONFIG_SENSORS_IBMPEX) += ibmpex.o | 57 | obj-$(CONFIG_SENSORS_IBMPEX) += ibmpex.o |
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index b49f9b143a7f..d2d15108ce4b 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
| @@ -368,6 +368,26 @@ config THINKPAD_ACPI_HOTKEY_POLL | |||
| 368 | If you are not sure, say Y here. The driver enables polling only if | 368 | If you are not sure, say Y here. The driver enables polling only if |
| 369 | it is strictly necessary to do so. | 369 | it is strictly necessary to do so. |
| 370 | 370 | ||
| 371 | config SENSORS_HDAPS | ||
| 372 | tristate "Thinkpad Hard Drive Active Protection System (hdaps)" | ||
| 373 | depends on INPUT && X86 | ||
| 374 | select INPUT_POLLDEV | ||
| 375 | default n | ||
| 376 | help | ||
| 377 | This driver provides support for the IBM Hard Drive Active Protection | ||
| 378 | System (hdaps), which provides an accelerometer and other misc. data. | ||
| 379 | ThinkPads starting with the R50, T41, and X40 are supported. The | ||
| 380 | accelerometer data is readable via sysfs. | ||
| 381 | |||
| 382 | This driver also provides an absolute input class device, allowing | ||
| 383 | the laptop to act as a pinball machine-esque joystick. | ||
| 384 | |||
| 385 | If your ThinkPad is not recognized by the driver, please update to latest | ||
| 386 | BIOS. This is especially the case for some R52 ThinkPads. | ||
| 387 | |||
| 388 | Say Y here if you have an applicable laptop and want to experience | ||
| 389 | the awesome power of hdaps. | ||
| 390 | |||
| 371 | config INTEL_MENLOW | 391 | config INTEL_MENLOW |
| 372 | tristate "Thermal Management driver for Intel menlow platform" | 392 | tristate "Thermal Management driver for Intel menlow platform" |
| 373 | depends on ACPI_THERMAL | 393 | depends on ACPI_THERMAL |
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index b26df2eac235..c97ac2a9dab7 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile | |||
| @@ -17,6 +17,7 @@ obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o | |||
| 17 | obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o | 17 | obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o |
| 18 | obj-$(CONFIG_IDEAPAD_LAPTOP) += ideapad-laptop.o | 18 | obj-$(CONFIG_IDEAPAD_LAPTOP) += ideapad-laptop.o |
| 19 | obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o | 19 | obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o |
| 20 | obj-$(CONFIG_SENSORS_HDAPS) += hdaps.o | ||
| 20 | obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o | 21 | obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o |
| 21 | obj-$(CONFIG_PANASONIC_LAPTOP) += panasonic-laptop.o | 22 | obj-$(CONFIG_PANASONIC_LAPTOP) += panasonic-laptop.o |
| 22 | obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o | 23 | obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o |
diff --git a/drivers/hwmon/hdaps.c b/drivers/platform/x86/hdaps.c index bfd42f18924b..067bf36d32f3 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/platform/x86/hdaps.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * drivers/hwmon/hdaps.c - driver for IBM's Hard Drive Active Protection System | 2 | * hdaps.c - driver for IBM's Hard Drive Active Protection System |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2005 Robert Love <rml@novell.com> | 4 | * Copyright (C) 2005 Robert Love <rml@novell.com> |
| 5 | * Copyright (C) 2005 Jesper Juhl <jesper.juhl@gmail.com> | 5 | * Copyright (C) 2005 Jesper Juhl <jesper.juhl@gmail.com> |
