HomeFreeBSD

linuxkpi: Include <linux/notifier.h> and <linux/device.h> from <linux/pm_qos.h>

Description

linuxkpi: Include <linux/notifier.h> and <linux/device.h> from <linux/pm_qos.h>

The i915 DRM driver started to depend on the bool type implicitly
imported through these headers in Linux 6.13.

The previous fix committed in 67df313015906d84d90df8e37795885e81cf8da5
did not reproduce the same includes as Linux. This may have led to other
missing implicit definitions later.

To prevent another missing include in the future, we already include
<linux/plist.h> from <linux/pm_qos.h> and add it as a dummy header. This
will be easier to add a proper implementation in the future once we
actually need it.

Reviewed by: bz, emaste
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57570

Details

Provenance
dumbbellAuthored on Aug 15 2026, 6:26 PM
Reviewer
bz
Differential Revision
D57570: linuxkpi: Include <linux/notifier.h> and <linux/device.h> from <linux/pm_qos.h>
Parents
rG087d722624c7: busdma_bounce: fix unused-function warning on powerpc
Branches
Unknown
Tags
Unknown