• Lech Perczak's avatar
    MIPS: ath79: drop _machine_restart again · d3115128
    Lech Perczak authored
    Commit 81424d0a ("MIPS: ath79: Use the reset controller to restart
    OF machines") removed setup of _machine_restart on OF machines to use
    reset handler in reset controller driver.
    While removing remnants of non-OF machines in commit 3a77e0d7
    ("MIPS: ath79: drop machfiles"), this was introduced again, making it
    impossible to use additional restart handlers registered through device
    tree. Drop setting _machine_restart altogether, and ath79_restart
    function, which is no longer used after this.
    
    Fixes: 3a77e0d7 ("MIPS: ath79: drop machfiles")
    Cc: John Crispin <john@phrozen.org>
    Cc: Florian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: default avatarLech Perczak <lech.perczak@gmail.com>
    Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
    d3115128
setup.c 5.57 KB