[PATCH] ARM: prima2: build reset code standalone

Arnd Bergmann arnd at arndb.de
Mon Mar 17 14:46:54 EDT 2014


On Tuesday 11 March 2014, Arnd Bergmann wrote:
> The prima2 platform code currently depends on the rstc
> implementation and that in turn depends on the reset
> controller framework. This removes the platform dependency
> by letting the driver access arm_pm_restart directly
> to turn the driver into a standalone entity, and also
> removes the dependency on the reset controller framework
> by using "if (IS_ENABLED(CONFIG_RESET_CONTROLLER))". This
> will cause all code that is used for the reset controller
> to be dropped by the compiler if the framework is disabled.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
> 
> The problem only shows up in our for-next branch, I'd apply the
> patch right away if I get an Ack.

Applied to next/cleanup now, which introduced the problem.

	Arnd



More information about the linux-arm-kernel mailing list