diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-08-11 12:12:47 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-09-22 16:18:52 +0300 |
commit | 6e64180a7c0219d769e05b6dbe5af4a073c1eb92 (patch) | |
tree | 03a6570a935350d4da0b0d5e7cc321d8254176c4 /drivers/power/reset/Kconfig | |
parent | eacd8d09db7f4504eea6b5fdc55a8fe5eaf62bed (diff) | |
download | linux-6e64180a7c0219d769e05b6dbe5af4a073c1eb92.tar.xz |
power/reset: at91-reset: allow compiling as a module
It was not possible to compile at91-reset 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 5a0189bf19bb..5cec1d9fdd47 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -23,7 +23,7 @@ config POWER_RESET_AT91_POWEROFF SoCs config POWER_RESET_AT91_RESET - bool "Atmel AT91 reset driver" + tristate "Atmel AT91 reset driver" depends on ARCH_AT91 default SOC_AT91SAM9 || SOC_SAMA5 help |