HomeFreeBSD

LinuxKPI: move pm_message_t from kernel.h to pm.h

Description

LinuxKPI: move pm_message_t from kernel.h to pm.h

Move pm_message_t from kernel.h to pm.h and remove a private define
in usb.h as well as adjust the implementation in linux_usb.c.
This cleans up what I believe to be a historic shortcut and is
needed for future wireless driver updates.

Leave a note in UPDATING that drm-kmod users need to update to the
latest version before re-compiling a new kernel to avoid errors
(see PR).

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
PR: 264449 (drm-kmod port update, thanks wulf)
Obtained from: bz_git_iwlwifi (Dec 2020) (partly)
Reviewed by: hselasky, imp
Differential Revision: https://reviews.freebsd.org/D35276

Details

Provenance
bzAuthored on May 20 2022, 9:50 PM
Reviewer
hselasky
Differential Revision
D35276: LinuxKPI: move pm_message_t from kernel.h to pm.h
Parents
rG60408c23c950: pci_vendors: udpate to 2022-05-18
Branches
Unknown
Tags
Unknown