Staging: hv: mousevsc: Cleanup alloc_input_device()
[zen-stable.git] / arch / arm / plat-s5p / include / plat / system-reset.h
blobf307f34e6422e05c4b98cbf3f530dca93446125d
1 /* linux/arch/arm/plat-s5p/include/plat/system-reset.h
3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * Based on arch/arm/mach-s3c2410/include/mach/system-reset.h
8 * S5P - System define for arch_reset()
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
15 #include <plat/watchdog-reset.h>
17 void (*s5p_reset_hook)(void);
19 static void arch_reset(char mode, const char *cmd)
21 /* SWRESET support in s5p_reset_hook() */
23 if (s5p_reset_hook)
24 s5p_reset_hook();
26 /* Perform reset using Watchdog reset
27 * if there is no s5p_reset_hook()
30 arch_wdt_reset();