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)
commit0a73125d308c1453dada1e2998f1c7f68094c45f
tree39c4ab9d88e3e537e0fda372a920c4616be7c9b1
parentd8818257d3befce6ce7da4c09112654914c3fd58
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: 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