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>
This commit is contained in:

committed by
Sebastian Reichel

부모
eacd8d09db
커밋
6e64180a7c
@@ -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
|
||||
|
Reference in New Issue
Block a user