Commit 14e38ac8 authored by David Rientjes's avatar David Rientjes Committed by Linus Torvalds
Browse files

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 <>
Signed-off-by: default avatarDavid Rientjes <>
Cc: "Randy.Dunlap" <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 11443ec7
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment