power: reset: Add MFD_SYSCON depends for brcmstb

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: 030494e750 ("power: reset: Add reboot driver for brcmstb")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
Florian Fainelli 2015-04-30 12:55:02 -07:00 committed by Sebastian Reichel
parent d8818257d3
commit 0a73125d30
1 changed files with 1 additions and 0 deletions

View File

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