xref: /openbsd-src/sys/dev/pci/drm/include/linux/pm_runtime.h (revision 4b70baf6e17fc8b27fc1f7fa7929335753fa94c3)
1 /* Public domain. */
2 
3 #ifndef _LINUX_PM_RUNTIME_H
4 #define _LINUX_PM_RUNTIME_H
5 
6 #include <sys/types.h>
7 #include <sys/device.h>
8 #include <linux/pm.h>
9 
10 #define pm_runtime_mark_last_busy(x)
11 #define pm_runtime_use_autosuspend(x)
12 #define pm_runtime_put_autosuspend(x)
13 #define pm_runtime_set_autosuspend_delay(x, y)
14 #define pm_runtime_set_active(x)
15 #define pm_runtime_allow(x)
16 #define pm_runtime_put_noidle(x)
17 #define pm_runtime_forbid(x)
18 #define pm_runtime_get_noresume(x)
19 
20 static inline int
21 pm_runtime_get_sync(struct device *dev)
22 {
23 	return 0;
24 }
25 
26 #endif
27