]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: device: add device_set_wakeup_enable()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 28 Jan 2023 15:18:24 +0000 (15:18 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 17 Feb 2023 23:42:15 +0000 (23:42 +0000)
commitb45e9a172d3830bed00018325eaa73c04a0b3a13
tree4b51c1ad11fab2bc8fe0cede0eb17bad24224a1d
parent4724e1867e81ab5de2c6b5a6819998b660f3e96d
LinuxKPI: device: add device_set_wakeup_enable()

Add a dummy device_set_wakeup_enable() which is used for WoWLAN which we
do not (yet) support and device_wakeup_enable() which is a wrapper to the
former with the enable argument being true.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38238

(cherry picked from commit ffdf10fb9cf13464801f2d78d3e1470201394812)
sys/compat/linuxkpi/common/include/linux/device.h