]> err.no Git - linux-2.6/commit
PM: Convert wakeup flag accessors to inline functions
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 19 Mar 2008 21:39:13 +0000 (22:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 20 Apr 2008 02:10:26 +0000 (19:10 -0700)
commit9a3df1f7de0ecaf77a1dde86f2a4dc020f37f87e
tree599a884cf4b42c516226c0f845cd32d0295b74ed
parentd288e47c471e1090e80c62ad95882fafbf3f499d
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>
include/linux/device.h
include/linux/pm.h
include/linux/pm_wakeup.h [new file with mode: 0644]