via-pmu.c (513b046c96cc2fbce730a3474f6f7ff0c4fdd05c) | via-pmu.c (7dfb71030f7636a0d65200158113c37764552f93) |
---|---|
1/* 2 * Device driver for the via-pmu on Apple Powermacs. 3 * 4 * The VIA (versatile interface adapter) interfaces to the PMU, 5 * a 6805 microprocessor core whose primary function is to control 6 * battery charging and system power on the PowerBook 3400 and 2400. 7 * The PMU also controls the ADB (Apple Desktop Bus) which connects 8 * to the keyboard and mouse, as well as the non-volatile RAM --- 28 unchanged lines hidden (view full) --- 37#include <linux/module.h> 38#include <linux/spinlock.h> 39#include <linux/pm.h> 40#include <linux/proc_fs.h> 41#include <linux/init.h> 42#include <linux/interrupt.h> 43#include <linux/device.h> 44#include <linux/sysdev.h> | 1/* 2 * Device driver for the via-pmu on Apple Powermacs. 3 * 4 * The VIA (versatile interface adapter) interfaces to the PMU, 5 * a 6805 microprocessor core whose primary function is to control 6 * battery charging and system power on the PowerBook 3400 and 2400. 7 * The PMU also controls the ADB (Apple Desktop Bus) which connects 8 * to the keyboard and mouse, as well as the non-volatile RAM --- 28 unchanged lines hidden (view full) --- 37#include <linux/module.h> 38#include <linux/spinlock.h> 39#include <linux/pm.h> 40#include <linux/proc_fs.h> 41#include <linux/init.h> 42#include <linux/interrupt.h> 43#include <linux/device.h> 44#include <linux/sysdev.h> |
45#include <linux/suspend.h> | 45#include <linux/freezer.h> |
46#include <linux/syscalls.h> 47#include <linux/cpu.h> 48#include <asm/prom.h> 49#include <asm/machdep.h> 50#include <asm/io.h> 51#include <asm/pgtable.h> 52#include <asm/system.h> 53#include <asm/sections.h> --- 2815 unchanged lines hidden --- | 46#include <linux/syscalls.h> 47#include <linux/cpu.h> 48#include <asm/prom.h> 49#include <asm/machdep.h> 50#include <asm/io.h> 51#include <asm/pgtable.h> 52#include <asm/system.h> 53#include <asm/sections.h> --- 2815 unchanged lines hidden --- |