Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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 <david-b@pacbell.net>
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 11443ec7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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