[PATCH] compat: add an empty implementation for pm_wakeup_event()

Subsystems: the rest

STALE5590d

2 messages, 2 authors, 2011-05-23 · open the first message on its own page

[PATCH] compat: add an empty implementation for pm_wakeup_event()

From: Eliad Peller <hidden>
Date: 2011-05-23 14:17:01

Needed for wl12xx compilation

Signed-off-by: Eliad Peller <redacted>
---
 include/linux/compat-2.6.36.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/compat-2.6.36.h b/include/linux/compat-2.6.36.h
index 7a82522..7bb2bb8 100644
--- a/include/linux/compat-2.6.36.h
+++ b/include/linux/compat-2.6.36.h
@@ -123,6 +123,8 @@ static inline void tty_unlock(void) __releases(kernel_lock)
 
 #define __rcu
 
+static inline void pm_wakeup_event(struct device *dev, unsigned int msec) {}
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */
 
 #endif /* LINUX_26_36_COMPAT_H */
-- 
1.7.0.4

Re: [PATCH] compat: add an empty implementation for pm_wakeup_event()

From: Luis R. Rodriguez <hidden>
Date: 2011-05-23 22:57:29

On Mon, May 23, 2011 at 7:17 AM, Eliad Peller [off-list ref] wrote:
Needed for wl12xx compilation

Signed-off-by: Eliad Peller <redacted>
Applied and pushed, thanks!

  Luis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help