Commit:     a1da5f4f1beb8cae83104a65f36afe527184a4ef
Parent:     f695baf2df9e0413d3521661070103711545207a
Author:     Paul Mackerras <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 22 10:41:39 2007 +1000
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Mon Jul 23 12:42:45 2007 +0100

    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 <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
 drivers/power/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 3f6e176..58c806e 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -38,7 +38,7 @@ config BATTERY_DS2760
        tristate "Apple PMU battery"
-       depends on ADB_PMU
+       depends on PPC32 && ADB_PMU
          Say Y here to expose battery information on Apple machines
          through the generic battery class.
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to