HomeFreeBSD

LinuxKPI: pm.h add pm_sleep_ptr and DEFINE_SIMPLE_DEV_PM_OPS

Description

LinuxKPI: pm.h add pm_sleep_ptr and DEFINE_SIMPLE_DEV_PM_OPS

Extend pm.h by pm_sleep_ptr and DEFINE_SIMPLE_DEV_PM_OPS().
For the moment this duplicates some parts (as can be seen in the earlier
review I tried to simplify bits but given our implementation this
was easier in the end).

While here and cleanup the SIMPLE_DEV_PM_OPS() bits (white-space only).

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D37527

(cherry picked from commit 4052b0e4b218f916b1f491a5ec9e41d38029215b)

Details

Provenance
bzAuthored on Nov 28 2022, 10:31 PM
Reviewer
hselasky
Differential Revision
D37527: LinuxKPI: pm.h add pm_sleep_ptr and DEFINE_SIMPLE_DEV_PM_OPS
Parents
rG4073b7ddf14a: LinuxKPI: pci.h add more MSI related constanst and pci_is_enabled()
Branches
Unknown
Tags
Unknown