diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-10-28 14:31:50 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2010-10-28 14:31:50 -0400 |
commit | bd5f47ec961594b1091839333600008f8166fd00 (patch) | |
tree | aa4296edffd81e2976d20d3ea30ea18108b2a4de /drivers/macintosh/Kconfig | |
parent | 6dfee85397a47063291fe199eaf950bee7944454 (diff) |
Move ams driver to macintosh
The ams driver isn't a hardware monitoring driver, so it shouldn't
live under driver/hwmon. drivers/macintosh seems much more
appropriate, as the driver is only useful on PowerBooks and iBooks.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Stelian Pop <stelian@popies.net>
Cc: Michael Hanselmann <linux-kernel@hansmi.ch>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/macintosh/Kconfig')
-rw-r--r-- | drivers/macintosh/Kconfig | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig index fd85bde283a0..3d7355ff7308 100644 --- a/drivers/macintosh/Kconfig +++ b/drivers/macintosh/Kconfig | |||
@@ -256,4 +256,30 @@ config PMAC_RACKMETER | |||
256 | This driver provides some support to control the front panel | 256 | This driver provides some support to control the front panel |
257 | blue LEDs "vu-meter" of the XServer macs. | 257 | blue LEDs "vu-meter" of the XServer macs. |
258 | 258 | ||
259 | config SENSORS_AMS | ||
260 | tristate "Apple Motion Sensor driver" | ||
261 | depends on PPC_PMAC && !PPC64 && INPUT && ((ADB_PMU && I2C = y) || (ADB_PMU && !I2C) || I2C) && EXPERIMENTAL | ||
262 | select INPUT_POLLDEV | ||
263 | help | ||
264 | Support for the motion sensor included in PowerBooks. Includes | ||
265 | implementations for PMU and I2C. | ||
266 | |||
267 | This driver can also be built as a module. If so, the module | ||
268 | will be called ams. | ||
269 | |||
270 | config SENSORS_AMS_PMU | ||
271 | bool "PMU variant" | ||
272 | depends on SENSORS_AMS && ADB_PMU | ||
273 | default y | ||
274 | help | ||
275 | PMU variant of motion sensor, found in late 2005 PowerBooks. | ||
276 | |||
277 | config SENSORS_AMS_I2C | ||
278 | bool "I2C variant" | ||
279 | depends on SENSORS_AMS && I2C | ||
280 | default y | ||
281 | help | ||
282 | I2C variant of motion sensor, found in early 2005 PowerBooks and | ||
283 | iBooks. | ||
284 | |||
259 | endif # MACINTOSH_DRIVERS | 285 | endif # MACINTOSH_DRIVERS |