xref: /openbsd/sys/dev/pci/drm/include/linux/pm.h (revision 667382c7)
1 /* Public domain. */
2 
3 #ifndef _LINUX_PM_H
4 #define _LINUX_PM_H
5 
6 #include <linux/completion.h>
7 
8 struct dev_pm_ops {
9 	int (*suspend)(struct device *);
10 	int (*resume)(struct device *);
11 };
12 
13 #define DEFINE_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn)	\
14     const struct dev_pm_ops name = { 				\
15 	    .suspend = suspend_fn, .resume = resume_fn		\
16     }
17 
18 struct dev_pm_domain {
19 };
20 
21 typedef struct {
22 } pm_message_t;
23 
24 #endif
25