]> err.no Git - linux-2.6/commit
[POWERPC] Correct AC Power: in /proc/pmu/info on ibook1
authorOlaf Hering <olaf@aepfle.de>
Sat, 10 Feb 2007 20:40:00 +0000 (21:40 +0100)
committerPaul Mackerras <paulus@samba.org>
Tue, 13 Feb 2007 04:35:52 +0000 (15:35 +1100)
commita334bdbdda9659b8f50a8620a11249fde62ccfde
treea8065a3d1a1dc586f83db309f4e52695ba433470
parent2d99c41f05fc2a26737aacf943db03ca89841199
[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 <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/via-pmu.c