···33 * License. See the file "COPYING" in the main directory of this archive44 * for more details.55 *66- * Copyright (C) 2001 by Ralf Baechle66+ * Copyright (C) 2001, 06 by Ralf Baechle (ralf@linux-mips.org)77 * Copyright (C) 2001 MIPS Technologies, Inc.88 */99#include <linux/kernel.h>1010#include <linux/module.h>1111+#include <linux/pm.h>1112#include <linux/types.h>1213#include <linux/reboot.h>1414+1315#include <asm/reboot.h>14161517/*···2119 */2220void (*_machine_restart)(char *command);2321void (*_machine_halt)(void);2424-void (*_machine_power_off)(void);2222+void (*pm_power_off)(void);25232624void machine_restart(char *command)2725{···37353836void machine_power_off(void)3937{4040- if (_machine_power_off)4141- _machine_power_off();3838+ if (pm_power_off)3939+ pm_power_off();4240}