commit | 9fdee4e02e3b214cde8e4f3beb6776075a3d08a7 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Fri Jun 27 16:56:55 2008 -0600 |
committer | Andi Kleen <andi@basil.nowhere.org> | Wed Jul 16 23:27:05 2008 +0200 |
tree | 2b08862f3d585b104f76b1c2fd362982e297a19d | |
parent | 940e98dbc616f1df7b63b73858a966969baf261d [diff] |
PNP: add pnp_resource_type_name() helper function This patch adds a "pnp_resource_type_name(struct resource *)" that returns the string resource type. This will be used by the sysfs "show resources" function and the debug resource dump function. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>