diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-08-11 12:12:49 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-09-22 16:18:53 +0300 |
commit | 6dd1ad1f236e7e683e92efd6b5b3953615900701 (patch) | |
tree | c09019d2e4a890eb1d4c711b0f524297b0321e87 /drivers/power/reset/Kconfig | |
parent | 2b2c6148fe851042cefbf272146b77634a4da39d (diff) | |
download | linux-6dd1ad1f236e7e683e92efd6b5b3953615900701.tar.xz |
power/reset: at91-poweroff: allow compiling as a module
It was not possible to compile at91-poweroff as a module. Implement
.remove() to allow it. Also switch to module_platform_driver_probe() as it
is not hotpluggable.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/reset/Kconfig')
-rw-r--r-- | drivers/power/reset/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 5cec1d9fdd47..1131cf75acc6 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -15,7 +15,7 @@ config POWER_RESET_AS3722 This driver supports turning off board via a ams AS3722 power-off. config POWER_RESET_AT91_POWEROFF - bool "Atmel AT91 poweroff driver" + tristate "Atmel AT91 poweroff driver" depends on ARCH_AT91 default SOC_AT91SAM9 || SOC_SAMA5 help |