Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108590963
D36024.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
687 B
Referenced Files
None
Subscribers
None
D36024.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/pm.h b/sys/compat/linuxkpi/common/include/linux/pm.h
--- a/sys/compat/linuxkpi/common/include/linux/pm.h
+++ b/sys/compat/linuxkpi/common/include/linux/pm.h
@@ -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 = { \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 5:38 PM (4 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16201958
Default Alt Text
D36024.diff (687 B)
Attached To
Mode
D36024: linuxkpi: pm: Add more defines and includes
Attached
Detach File
Event Timeline
Log In to Comment