OSDN Git Service

power: reset: Add MFD_SYSCON depends for brcmstb
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 30 Apr 2015 19:55:02 +0000 (12:55 -0700)
committerSebastian Reichel <sre@kernel.org>
Fri, 1 May 2015 20:48:28 +0000 (22:48 +0200)
The Broadcom STB reboot driver depends on MFD_SYSCON, it uses
syscon_regmap_lookup_by_phandle() which will not lookup syscon phandles
if MFD_SYSCON is disabled, and instead will return -ENOSYS since it is
turned into an inline stub.

Fixes: 030494e75064c ("power: reset: Add reboot driver for brcmstb")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/Kconfig

index aad9c33..17d93a7 100644 (file)
@@ -41,6 +41,7 @@ config POWER_RESET_AXXIA
 config POWER_RESET_BRCMSTB
        bool "Broadcom STB reset driver"
        depends on ARM || MIPS || COMPILE_TEST
+       depends on MFD_SYSCON
        default ARCH_BRCMSTB
        help
          This driver provides restart support for Broadcom STB boards.