ARM: restart: add restart hook to machine_desc record
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Nov 2011 15:05:24 +0000 (15:05 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 10 Nov 2011 22:30:01 +0000 (22:30 +0000)
commita528721da08a793e0cec6ef6281d404eddd6e27b
tree909557c79b69093c6aaa3244a1c0181e419a5158
parent1ea6b8f48918282bdca0b32a34095504ee65bab5
ARM: restart: add restart hook to machine_desc record

Add a restart hook to the machine_desc record so we don't have to
populate all platforms with init_early methods to initialize the
arm_pm_restart function pointer.

Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/mach/arch.h
arch/arm/kernel/setup.c