diff options
| author | Sourojeet A <siri@racha.ca> | 2026-07-08 12:57:34 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-07-08 12:58:48 +0000 |
| commit | 7e1245aafeece1a56af292c2652c6b835ccb6f10 (patch) | |
| tree | 743e7104a8575ad2917f6e754892978c89602d48 | |
| parent | 1cce5ef05d7ba077b0cb29d30b59f3a862e7e5ae (diff) | |
linuxkpi: Add pm_runtime_resume_and_get
pm_runtime_resume_and_get is used by new versions of amdgpu, and began
use between Linux kernel version 6.12, and 6.14.
Reviewed by: dumbbell
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57463
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/pm_runtime.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/pm_runtime.h b/sys/compat/linuxkpi/common/include/linux/pm_runtime.h index 6114b7b159d7..8c7d9f3a8e1c 100644 --- a/sys/compat/linuxkpi/common/include/linux/pm_runtime.h +++ b/sys/compat/linuxkpi/common/include/linux/pm_runtime.h @@ -51,4 +51,10 @@ pm_runtime_suspended(struct device *dev) return 0; } +static inline int +pm_runtime_resume_and_get(struct device *dev) +{ + return 0; +} + #endif /* _LINUXKPI_LINUX_PM_RUNTIME_H_ */ |
