summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2007-04-30 15:09:56 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-30 16:40:41 -0700
commit14e38ac823b7b25e3f4e563c182f93fde78167d6 (patch)
treef4252518efdd877ee1558ded8bcea4ed130837cc /include
parent11443ec7d9286dd25663516436a14edfb5f43857 (diff)
downloadlinux-3.10-14e38ac823b7b25e3f4e563c182f93fde78167d6.tar.gz
linux-3.10-14e38ac823b7b25e3f4e563c182f93fde78167d6.tar.bz2
linux-3.10-14e38ac823b7b25e3f4e563c182f93fde78167d6.zip
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 <david-b@pacbell.net> Signed-off-by: David Rientjes <rientjes@google.com> Cc: "Randy.Dunlap" <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h
index 7a516690dcb..6e8fa3049e5 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