pm: include EIO from errno-base.h
authorDavid Rientjes <rientjes@google.com>
Mon, 30 Apr 2007 22:09:56 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 30 Apr 2007 23:40:41 +0000 (16:40 -0700)
commit14e38ac823b7b25e3f4e563c182f93fde78167d6
treef4252518efdd877ee1558ded8bcea4ed130837cc
parent11443ec7d9286dd25663516436a14edfb5f43857
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>
include/linux/pm.h