PCI: add power-state name strings
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 27 Apr 2009 17:33:16 +0000 (13:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:44 +0000 (21:44 -0700)
commit00240c3839d843ccf07abd52806f421f7b87bbdc
tree4ad3a8c543a7a3de0893b1289086e62fffb98bc6
parent604eb89ffed9fba268582dc44d5b462ea94cc0ca
PCI: add power-state name strings

This patch (as1235) adds an array of PCI power-state names, together
with a simple inline accessor routine.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c
include/linux/pci.h