summaryrefslogtreecommitdiff
path: root/drivers/power/reset/Kconfig
diff options
context:
space:
mode:
authorFeng Kan <fkan@apm.com>2014-10-02 11:24:15 -0700
committerSebastian Reichel <sre@kernel.org>2014-10-03 04:32:08 +0200
commitafaebbdbd48ada5ead707d6a90ce4b604e1d77d4 (patch)
treefc11ce4144991227bac55c4c100061f109f60df2 /drivers/power/reset/Kconfig
parenta7ba749e01461a3802d22157fc0e6c4ecbe0dd32 (diff)
power: reset: corrections for simple syscon reboot driver
This patch is to fix some bugs in reboot driver. Which includes auto selection of the MFD_SYSCON for the driver, use of container to locate restart handler, correction of the count down failure timer and ordering of the header file. Signed-off-by: Feng Kan <fkan@apm.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> [ sre: return err instead of 0 in syscon_reboot_probe() ] Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/reset/Kconfig')
-rw-r--r--drivers/power/reset/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index addb26afae5a..3b451e162a98 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -120,6 +120,7 @@ config POWER_RESET_KEYSTONE
config POWER_RESET_SYSCON
bool "Generic SYSCON regmap reset driver"
- depends on POWER_RESET && MFD_SYSCON && OF
+ depends on POWER_RESET && OF
+ select MFD_SYSCON
help
Reboot support for generic SYSCON mapped register reset.