Subject: [PATCH 3/3] arm: mach-mvebu: system-controller only registers restart if device exists

From: [email-masked] (Ben Dooks)
Date: Thu, 28 Jun 2012 10:23:21 +0100

On 27/06/12 20:19, Russell King - ARM Linux wrote:
> On Wed, Jun 27, 2012 at 05:26:46PM +0100, Ben Dooks wrote:
>> Change to only registering the restart hook if the device exists
>> and can be enumerated in the device tree. Remove the header definiton
>> and the restart entry in the machine file.
>
> NAK.  Please use the .restart method in the machine description rather
> than directly using arm_pm_restart.  Thanks.
>
> arm_pm_restart only continues to exist because I could not work out how
> to stop AT91 from using it.

So what should you do if your board doesn't support this method of
resetting?

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius