summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5-common/wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/samsung/exynos5-common/wdt.c')
-rw-r--r--src/cpu/samsung/exynos5-common/wdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/samsung/exynos5-common/wdt.c b/src/cpu/samsung/exynos5-common/wdt.c
index 6f435e5857..dbeefec49a 100644
--- a/src/cpu/samsung/exynos5-common/wdt.c
+++ b/src/cpu/samsung/exynos5-common/wdt.c
@@ -30,7 +30,7 @@
void wdt_stop(void)
{
struct s5p_watchdog *wdt =
- (struct s5p_watchdog *)samsung_get_base_watchdog();
+ samsung_get_base_watchdog();
unsigned int wtcon;
wtcon = readl(&wdt->wtcon);
@@ -42,7 +42,7 @@ void wdt_stop(void)
void wdt_start(unsigned int timeout)
{
struct s5p_watchdog *wdt =
- (struct s5p_watchdog *)samsung_get_base_watchdog();
+ samsung_get_base_watchdog();
unsigned int wtcon;
wdt_stop();