提交 0a73125d 编写于 作者: F Florian Fainelli 提交者: Sebastian Reichel

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: 030494e7 ("power: reset: Add reboot driver for brcmstb")
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NSebastian Reichel <sre@kernel.org>
上级 d8818257
...@@ -41,6 +41,7 @@ config POWER_RESET_AXXIA ...@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册