| * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> |
| * Copyright (C) 2009 PetaLogix |
| * This file is subject to the terms and conditions of the GNU General Public |
| * License. See the file "COPYING" in the main directory of this archive |
| #include <linux/of_platform.h> |
| #include <linux/reboot.h> |
| void machine_shutdown(void) |
| pr_notice("Machine shutdown...\n"); |
| pr_notice("Machine halt...\n"); |
| void machine_power_off(void) |
| pr_notice("Machine power off...\n"); |
| void machine_restart(char *cmd) |
| /* Give the restart hook 1 s to take us down */ |
| pr_emerg("Reboot failed -- System halted\n"); |