]> err.no Git - linux-2.6/blobdiff - drivers/watchdog/w83697hf_wdt.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
[linux-2.6] / drivers / watchdog / w83697hf_wdt.c
index c622a0e6c9aed57137b59ab0d1af4aabffefe1dc..6ea125eabeaab3777dfc78f683d8eed9d0d9f5e7 100644 (file)
@@ -382,8 +382,10 @@ wdt_init(void)
                /* we will autodetect the W83697HF/HG watchdog */
                for (i = 0; ((!found) && (w83697hf_ioports[i] != 0)); i++) {
                        wdt_io = w83697hf_ioports[i];
-                       if (!w83697hf_check_wdt())
+                       if (!w83697hf_check_wdt()) {
                                found++;
+                               break;
+                       }
                }
        } else {
                if (!w83697hf_check_wdt())