From: Michael Hanselmann Signed-off-by: Michael Hanselmann Signed-off-by: Andrew Morton --- drivers/hwmon/Kconfig | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff -puN drivers/hwmon/Kconfig~apple-motion-sensor-driver-kconfig-fix drivers/hwmon/Kconfig --- a/drivers/hwmon/Kconfig~apple-motion-sensor-driver-kconfig-fix +++ a/drivers/hwmon/Kconfig @@ -96,12 +96,14 @@ config SENSORS_ADM9240 config SENSORS_AMS tristate "Apple Motion Sensor driver" - depends on HWMON && PPC_PMAC && INPUT && EXPERIMENTAL - default y + depends on HWMON && PPC_PMAC && !PPC64 && INPUT && ((ADB_PMU && I2C = y) || (ADB_PMU && !I2C) || I2C) && EXPERIMENTAL help Support for the motion sensor included in PowerBooks. Includes implementations for PMU and I2C. + This driver can also be built as a module. If so, the module + will be called ams. + config SENSORS_AMS_PMU bool "PMU variant" depends on SENSORS_AMS && ADB_PMU _