X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/769ee01960e4241017ab9f9f760fc51c1141bf90..4ee0ee8dd9033d4772b07b4d9aee42ca0b82e863:/target/linux/brcm47xx/files/arch/mips/bcm947xx/setup.c diff --git a/target/linux/brcm47xx/files/arch/mips/bcm947xx/setup.c b/target/linux/brcm47xx/files/arch/mips/bcm947xx/setup.c index 106d8f54d..780134818 100644 --- a/target/linux/brcm47xx/files/arch/mips/bcm947xx/setup.c +++ b/target/linux/brcm47xx/files/arch/mips/bcm947xx/setup.c @@ -55,7 +55,7 @@ static void bcm47xx_machine_restart(char *command) */ /* Set the watchdog timer to reset immediately */ - ssb_chipco_watchdog(&ssb.chipco, 1); + ssb_chipco_watchdog_timer_set(&ssb.chipco, 1); while (1) cpu_relax(); } @@ -64,7 +64,7 @@ static void bcm47xx_machine_halt(void) { /* Disable interrupts and watchdog and spin forever */ local_irq_disable(); - ssb_chipco_watchdog(&ssb.chipco, 0); + ssb_chipco_watchdog_timer_set(&ssb.chipco, 0); while (1) cpu_relax(); }