Commit:     a334bdbdda9659b8f50a8620a11249fde62ccfde
Parent:     2d99c41f05fc2a26737aacf943db03ca89841199
Author:     Olaf Hering <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 10 21:40:00 2007 +0100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Tue Feb 13 15:35:52 2007 +1100

    [POWERPC] Correct AC Power: in /proc/pmu/info on ibook1
    /proc/pmu/info contains AC Power: 0 when booting without battery.
    Force AC Power, it will be updated whenever the battery state changes.
    Signed-off-by: Olaf Hering <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 drivers/macintosh/via-pmu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index 8794cab..b6073bd 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/drivers/macintosh/via-pmu.c
@@ -169,7 +169,7 @@ static int option_server_mode;
 int pmu_battery_count;
 int pmu_cur_battery;
-unsigned int pmu_power_flags;
+unsigned int pmu_power_flags = PMU_PWR_AC_PRESENT;
 struct pmu_battery_info pmu_batteries[PMU_MAX_BATTERIES];
 static int query_batt_timer = BATTERY_POLLING_COUNT;
 static struct adb_request batt_req;
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