Re: [patch] pm: include EIO from errno-base.h

2007-04-30 Thread Randy Dunlap
On Mon, 30 Apr 2007 12:15:57 -0700 (PDT) David Rientjes wrote: > 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

Re: [patch] pm: include EIO from errno-base.h

2007-04-30 Thread David Rientjes
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]> --- include/linux/pm.h |2 +- 1 files changed, 1 insertions(+),

Re: [patch] pm: include EIO from errno-base.h

2007-04-30 Thread David Brownell
On Monday 30 April 2007, David Rientjes wrote: > call_platform_enable_wakeup() uses EIO, so it needs to be defined. > > Cc: David Brownell <[EMAIL PROTECTED]> > Signed-off-by: David Rientjes <[EMAIL PROTECTED]> Actually, in that PM-is-disabled case returning zero (success) rather than -EIO would

Re: [patch] pm: include EIO from errno-base.h

2007-04-30 Thread David Brownell
On Monday 30 April 2007, David Rientjes wrote: call_platform_enable_wakeup() uses EIO, so it needs to be defined. Cc: David Brownell [EMAIL PROTECTED] Signed-off-by: David Rientjes [EMAIL PROTECTED] Actually, in that PM-is-disabled case returning zero (success) rather than -EIO would have

Re: [patch] pm: include EIO from errno-base.h

2007-04-30 Thread David Rientjes
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] --- include/linux/pm.h |2 +- 1 files changed, 1 insertions(+), 1

Re: [patch] pm: include EIO from errno-base.h

2007-04-30 Thread Randy Dunlap
On Mon, 30 Apr 2007 12:15:57 -0700 (PDT) David Rientjes wrote: 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] ---