via-pmu.c (320424c7d44f54c18df9812fd7c45f6963524002) | via-pmu.c (c0891ac15f0428ffa81b2e818d416bdf3cb74ab6) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Device driver for the PMU in Apple PowerBooks and PowerMacs. 4 * 5 * The VIA (versatile interface adapter) interfaces to the PMU, 6 * a 6805 microprocessor core whose primary function is to control 7 * battery charging and system power on the PowerBook 3400 and 2400. 8 * The PMU also controls the ADB (Apple Desktop Bus) which connects --- 4 unchanged lines hidden (view full) --- 13 * Copyright (C) 2001-2002 Benjamin Herrenschmidt 14 * Copyright (C) 2006-2007 Johannes Berg 15 * 16 * THIS DRIVER IS BECOMING A TOTAL MESS ! 17 * - Cleanup atomically disabling reply to PMU events after 18 * a sleep or a freq. switch 19 * 20 */ | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Device driver for the PMU in Apple PowerBooks and PowerMacs. 4 * 5 * The VIA (versatile interface adapter) interfaces to the PMU, 6 * a 6805 microprocessor core whose primary function is to control 7 * battery charging and system power on the PowerBook 3400 and 2400. 8 * The PMU also controls the ADB (Apple Desktop Bus) which connects --- 4 unchanged lines hidden (view full) --- 13 * Copyright (C) 2001-2002 Benjamin Herrenschmidt 14 * Copyright (C) 2006-2007 Johannes Berg 15 * 16 * THIS DRIVER IS BECOMING A TOTAL MESS ! 17 * - Cleanup atomically disabling reply to PMU events after 18 * a sleep or a freq. switch 19 * 20 */ |
21#include <stdarg.h> | 21#include <linux/stdarg.h> |
22#include <linux/mutex.h> 23#include <linux/types.h> 24#include <linux/errno.h> 25#include <linux/kernel.h> 26#include <linux/delay.h> 27#include <linux/sched/signal.h> 28#include <linux/miscdevice.h> 29#include <linux/blkdev.h> --- 2644 unchanged lines hidden --- | 22#include <linux/mutex.h> 23#include <linux/types.h> 24#include <linux/errno.h> 25#include <linux/kernel.h> 26#include <linux/delay.h> 27#include <linux/sched/signal.h> 28#include <linux/miscdevice.h> 29#include <linux/blkdev.h> --- 2644 unchanged lines hidden --- |