Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106943172
D38239.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
751 B
Referenced Files
None
Subscribers
None
D38239.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,12 +33,15 @@
#ifndef _LINUXKPI_LINUX_PM_H
#define _LINUXKPI_LINUX_PM_H
+#include <linux/kernel.h> /* pr_debug */
#include <asm/atomic.h>
/* Needed but breaks linux_usb.c */
/* #include <linux/completion.h> */
/* #include <linux/wait.h> */
+struct device;
+
typedef struct pm_message {
int event;
} pm_message_t;
@@ -85,4 +88,11 @@
}
#endif
+static inline void
+pm_wakeup_event(struct device *dev __unused, unsigned int x __unused)
+{
+
+ pr_debug("%s: TODO\n", __func__);
+}
+
#endif /* _LINUXKPI_LINUX_PM_H */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 8, 8:13 PM (2 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15726372
Default Alt Text
D38239.diff (751 B)
Attached To
Mode
D38239: LinuxKPI: pm.h: add dummy pm_wakeup_event()
Attached
Detach File
Event Timeline
Log In to Comment