linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Alchemy: fix up residual devboard poweroff/reboot code

To: Manuel Lauss <manuel.lauss@googlemail.com>
Subject: Re: [PATCH] MIPS: Alchemy: fix up residual devboard poweroff/reboot code.
From: Sergei Shtylyov <sshtylyov@mvista.com>
Date: Fri, 26 Mar 2010 00:43:05 +0300
Cc: Linux-MIPS <linux-mips@linux-mips.org>, Manuel Lauss <manuel.lauss@gmail.com>
In-reply-to: <1269542237-16617-1-git-send-email-manuel.lauss@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1269542237-16617-1-git-send-email-manuel.lauss@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)
Hello.

Manuel Lauss wrote:
Clean out stray unused board_reset() calls in pb1x boards,
the pb1000 is different from the rest and gets private methods.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
[...]
diff --git a/arch/mips/alchemy/devboards/pb1000/board_setup.c 
b/arch/mips/alchemy/devboards/pb1000/board_setup.c
index b5311d8..9fa532c 100644
--- a/arch/mips/alchemy/devboards/pb1000/board_setup.c
+++ b/arch/mips/alchemy/devboards/pb1000/board_setup.c

[...]

@@ -177,6 +187,10 @@ void __init board_setup(void)
                au_writel(au_readl(SYS_POWERCTRL) | (0x3 << 5), SYS_POWERCTRL);
                break;
        }
+
+       pm_power_off = board_power_off;
+        _machine_halt = board_power_off;
+        _machine_restart = board_reset;

  Why there are spaces after tabs?

WBR, Sergei


<Prev in Thread] Current Thread [Next in Thread>