]> err.no Git - linux-2.6/commit
PNP: add pnp_new_resource() to find a new unset pnp_resource
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:33 +0000 (16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:28 +0000 (03:22 -0400)
commita50b6d7b8d7e1a8b13bd1be65a865b115e1190d9
tree3569de9f037726f97a59a98590ec4620c9e2ca09
parent21855d69d1e3ace3efdb8159a4a7ab1ab98a6f19
PNP: add pnp_new_resource() to find a new unset pnp_resource

This encapsulates the code to locate a new pnp_resource of the
desired type.  Currently this uses the pnp_resource_table, but
it will soon change to find a resource in a linked list.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/resource.c