diff options
Diffstat (limited to 'drivers/watchdog/at91rm9200_wdt.c')
-rw-r--r-- | drivers/watchdog/at91rm9200_wdt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c index b3046dc4b56c..7ceefd29ae14 100644 --- a/drivers/watchdog/at91rm9200_wdt.c +++ b/drivers/watchdog/at91rm9200_wdt.c | |||
@@ -51,7 +51,7 @@ static unsigned long at91wdt_busy; | |||
51 | */ | 51 | */ |
52 | static inline void at91_wdt_stop(void) | 52 | static inline void at91_wdt_stop(void) |
53 | { | 53 | { |
54 | at91_sys_write(AT91_ST_WDMR, AT91_ST_EXTEN); | 54 | at91_st_write(AT91_ST_WDMR, AT91_ST_EXTEN); |
55 | } | 55 | } |
56 | 56 | ||
57 | /* | 57 | /* |
@@ -59,9 +59,9 @@ static inline void at91_wdt_stop(void) | |||
59 | */ | 59 | */ |
60 | static inline void at91_wdt_start(void) | 60 | static inline void at91_wdt_start(void) |
61 | { | 61 | { |
62 | at91_sys_write(AT91_ST_WDMR, AT91_ST_EXTEN | AT91_ST_RSTEN | | 62 | at91_st_write(AT91_ST_WDMR, AT91_ST_EXTEN | AT91_ST_RSTEN | |
63 | (((65536 * wdt_time) >> 8) & AT91_ST_WDV)); | 63 | (((65536 * wdt_time) >> 8) & AT91_ST_WDV)); |
64 | at91_sys_write(AT91_ST_CR, AT91_ST_WDRST); | 64 | at91_st_write(AT91_ST_CR, AT91_ST_WDRST); |
65 | } | 65 | } |
66 | 66 | ||
67 | /* | 67 | /* |
@@ -69,7 +69,7 @@ static inline void at91_wdt_start(void) | |||
69 | */ | 69 | */ |
70 | static inline void at91_wdt_reload(void) | 70 | static inline void at91_wdt_reload(void) |
71 | { | 71 | { |
72 | at91_sys_write(AT91_ST_CR, AT91_ST_WDRST); | 72 | at91_st_write(AT91_ST_CR, AT91_ST_WDRST); |
73 | } | 73 | } |
74 | 74 | ||
75 | /* ......................................................................... */ | 75 | /* ......................................................................... */ |