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

Ben Dooks ben.dooks at codethink.co.uk
Thu Jun 28 05:23:21 EDT 2012


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



More information about the linux-arm-kernel mailing list