mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
linuxkpi: pm: Add more defines and includes
Needed by drm-kmod. Reviewed By: emaste, hselasky Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36024
This commit is contained in:
parent
b829f450a7
commit
2ff0f05149
1 changed files with 10 additions and 0 deletions
|
|
@ -33,10 +33,20 @@
|
|||
#ifndef _LINUXKPI_LINUX_PM_H
|
||||
#define _LINUXKPI_LINUX_PM_H
|
||||
|
||||
/* Needed but breaks linux_usb.c */
|
||||
/* #include <linux/completion.h> */
|
||||
/* #include <linux/wait.h> */
|
||||
|
||||
typedef struct pm_message {
|
||||
int event;
|
||||
} pm_message_t;
|
||||
|
||||
struct dev_pm_domain {
|
||||
};
|
||||
|
||||
#define PM_EVENT_FREEZE 0x0001
|
||||
#define PM_EVENT_SUSPEND 0x0002
|
||||
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
#define SIMPLE_DEV_PM_OPS(_name, _suspendfunc, _resumefunc) \
|
||||
const struct dev_pm_ops _name = { \
|
||||
|
|
|
|||
Loading…
Reference in a new issue