Skip to content

Commit

Permalink
ARM: restart: plat-samsung: remove plat/reset.h and s5p_reset_hook
Browse files Browse the repository at this point in the history
Now that s5p_reset_hook is unused, we can get rid of plat/reset.h and
the s5p_reset_hook code in plat/system-reset.h.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Jan 5, 2012
1 parent fe76dae commit d9eedaf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
16 changes: 0 additions & 16 deletions arch/arm/plat-samsung/include/plat/reset.h

This file was deleted.

11 changes: 0 additions & 11 deletions arch/arm/plat-samsung/include/plat/system-reset.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,7 @@

#include <plat/watchdog-reset.h>

void (*s5p_reset_hook)(void);

static void arch_reset(char mode, const char *cmd)
{
/* SWRESET support in s5p_reset_hook() */

if (s5p_reset_hook)
s5p_reset_hook();

/* Perform reset using Watchdog reset
* if there is no s5p_reset_hook()
*/

arch_wdt_reset();
}

0 comments on commit d9eedaf

Please sign in to comment.