With Linux 6.9, pm_runtime_get_if_active() lost its second bool argument.
This change is put behind a check of LINUXKPI_VERSION to keep compatibility.
Sponsored by: The FreeBSD Foundation
Differential D50991
linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9 dumbbell on Jun 23 2025, 9:34 PM. Authored by Tags None Referenced Files
Details
With Linux 6.9, pm_runtime_get_if_active() lost its second bool argument. This change is put behind a check of LINUXKPI_VERSION to keep compatibility. Sponsored by: The FreeBSD Foundation
Diff Detail
Event Timeline
Comment Actions Address comment from @bz: default the #if/#else logic to the latest version. A user has to define LINUXKPI_VERSION to request the older variant. |