Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=14e38ac823b7b25e3f4e563c182f93fde78167d6
Commit:     14e38ac823b7b25e3f4e563c182f93fde78167d6
Parent:     11443ec7d9286dd25663516436a14edfb5f43857
Author:     David Rientjes <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 30 15:09:56 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Apr 30 16:40:41 2007 -0700

    pm: include EIO from errno-base.h
    
    For backwards compatibility, call_platform_enable_wakeup() can return 0
    instead of -EIO since we aren't guaranteed to have errno defined.
    
    Cc: David Brownell <[EMAIL PROTECTED]>
    Signed-off-by: David Rientjes <[EMAIL PROTECTED]>
    Cc: "Randy.Dunlap" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 include/linux/pm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/pm.h b/include/linux/pm.h
index 7a51669..6e8fa30 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -332,7 +332,7 @@ static inline void dpm_runtime_resume(struct device * dev)
 
 static inline int call_platform_enable_wakeup(struct device *dev, int is_on)
 {
-       return -EIO;
+       return 0;
 }
 
 #endif
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to