OSDN Git Service

ARM: sunxi: Select RESET_CONTROLLER
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 30 Dec 2013 15:37:29 +0000 (16:37 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 1 Jan 2014 22:55:58 +0000 (23:55 +0100)
The current code selects ARCH_HAS_RESET_CONTROLLER, that enables the
RESET_CONTROLLER option by default, but doesn't select it, so a configuration
might unselect it, leading to compilation error.

Explictly select RESET_CONTROLLER so that we can't have this breakage anymore.

Reported-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/mach-sunxi/Kconfig

index e3457b9..8dea30f 100644 (file)
@@ -11,5 +11,6 @@ config ARCH_SUNXI
        select HAVE_SMP
        select PINCTRL
        select PINCTRL_SUNXI
+       select RESET_CONTROLLER
        select SPARSE_IRQ
        select SUN4I_TIMER