Commit graph android_kernel_sony_sdm845/include/linux/pm_wakeup.h
Message SHA1
PM: Convert wakeup flag accessors to inline functions
This patch (as1058) improves the wakeup macros in include/linux/pm.h.
All but the trivial ones are converted to inline routines, which
requires moving them to a separate header file since they depend on
the definition of struct device.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Alan Stern   authored and   Greg Kroah-Hartman   commited 2008-04-19 19:10:26 -07:00
9a3df1f7de