aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/w83697hf_wdt.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/watchdog/w83697hf_wdt.c b/drivers/watchdog/w83697hf_wdt.c
index c622a0e6c9ae..b5341741765a 100644
--- a/drivers/watchdog/w83697hf_wdt.c
+++ b/drivers/watchdog/w83697hf_wdt.c
@@ -140,7 +140,7 @@ w83697hf_init(void)
140 w83697hf_deselect_wdt(); 140 w83697hf_deselect_wdt();
141} 141}
142 142
143static int 143static void
144wdt_ping(void) 144wdt_ping(void)
145{ 145{
146 spin_lock(&io_lock); 146 spin_lock(&io_lock);
@@ -150,10 +150,9 @@ wdt_ping(void)
150 150
151 w83697hf_deselect_wdt(); 151 w83697hf_deselect_wdt();
152 spin_unlock(&io_lock); 152 spin_unlock(&io_lock);
153 return 0;
154} 153}
155 154
156static int 155static void
157wdt_enable(void) 156wdt_enable(void)
158{ 157{
159 spin_lock(&io_lock); 158 spin_lock(&io_lock);
@@ -164,10 +163,9 @@ wdt_enable(void)
164 163
165 w83697hf_deselect_wdt(); 164 w83697hf_deselect_wdt();
166 spin_unlock(&io_lock); 165 spin_unlock(&io_lock);
167 return 0;
168} 166}
169 167
170static int 168static void
171wdt_disable(void) 169wdt_disable(void)
172{ 170{
173 spin_lock(&io_lock); 171 spin_lock(&io_lock);
@@ -178,7 +176,6 @@ wdt_disable(void)
178 176
179 w83697hf_deselect_wdt(); 177 w83697hf_deselect_wdt();
180 spin_unlock(&io_lock); 178 spin_unlock(&io_lock);
181 return 0;
182} 179}
183 180
184static int 181static int