power management: fix struct layout and docs
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 16 Feb 2007 09:38:30 +0000 (01:38 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 22:52:09 +0000 (14:52 -0800)
commit2a9df4945106d62ed9249a44d666fab93c685f7a
tree3cdc8716743d9d01d172856ecff64ace2b07aab0
parent9c372d06ce9ddf65e1393f9ea22a6d6bd5f96b42
power management: fix struct layout and docs

Because the pm ops in powermac are obviously not using them as intended, I
added documentation for it in kernel-doc format.

Reordering the fields in struct pm_ops not only makes the output of kernel-doc
make more sense but also removes a hole from the structure on 64-bit
platforms.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Macheck <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/pm.h