mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
e8fc721a9a
The QNAP NAS boxes have a microcontroller attached to the SoCs second serial port. By sending it a simple command, it will turn the power for the board off. This driver registers a function for pm_power_off to send such a command. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
3 lines
100 B
Makefile
3 lines
100 B
Makefile
obj-$(CONFIG_POWER_RESET_GPIO) += gpio-poweroff.o
|
|
obj-$(CONFIG_POWER_RESET_QNAP) += qnap-poweroff.o
|