diff options
author | Paul Mackerras <paulus@samba.org> | 2007-07-21 20:41:39 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-07-23 07:42:45 -0400 |
commit | a1da5f4f1beb8cae83104a65f36afe527184a4ef (patch) | |
tree | 902261ca19ab9781fab18c2573828d75e0337dfd /drivers/power | |
parent | f695baf2df9e0413d3521661070103711545207a (diff) |
Don't compile the PMU power driver on 64-bit PowerPC
As reported by Stephen Rothwell, an allmodconfig build on 64-bit
PowerPC reports these errors:
ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined!
ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined!
ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined!
This fixes the problem by not building pmu_battery.ko on ppc64. There
are no battery-powered ppc64 machines with an Apple PMU, and we can be
reasonably confident there never will be.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 3f6e176e6ea1..58c806e9c58a 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -38,7 +38,7 @@ config BATTERY_DS2760 | |||
38 | 38 | ||
39 | config BATTERY_PMU | 39 | config BATTERY_PMU |
40 | tristate "Apple PMU battery" | 40 | tristate "Apple PMU battery" |
41 | depends on ADB_PMU | 41 | depends on PPC32 && ADB_PMU |
42 | help | 42 | help |
43 | Say Y here to expose battery information on Apple machines | 43 | Say Y here to expose battery information on Apple machines |
44 | through the generic battery class. | 44 | through the generic battery class. |