pinctrl: sunxi: depend on RESET_CONTROLLER
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 23 May 2014 18:50:43 +0000 (20:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 27 May 2014 13:19:21 +0000 (15:19 +0200)
The A31 R_PIO driver depends on the reset framework in a mandatory way. Express
this by adding a depends on the reset framework in Kconfig

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/Kconfig

index da1e83035789a452ea3ce1f79db9dca73e971df1..73e0a305ea13f5ce4251c9ec024b18a6b7784056 100644 (file)
@@ -26,6 +26,7 @@ config PINCTRL_SUN6I_A31
 
 config PINCTRL_SUN6I_A31_R
        def_bool PINCTRL_SUNXI || MACH_SUN6I
+       depends on RESET_CONTROLLER
        select PINCTRL_SUNXI_COMMON
 
 config PINCTRL_SUN7I_A20