X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d124ab28a821a801862dba6d4e87a3facc140df5..532249b5072aacee71b437b5be6de44840dc6e00:/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(); }