PNP: add pnp_get_pnp_resource()
commit0a977f15469457d9a19eed992caf71995c674064
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:31 +0000 (28 16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:28 +0000 (29 03:22 -0400)
tree8f20c1f93782908112dba5cf835bb0110eb1ffb1
parent784f01d5bdeae7d7005ede17305306b042ba2617
PNP: add pnp_get_pnp_resource()

In some places, we need to get the struct pnp_resource, not just
the struct resource, because ISAPNP needs to store the register
index in the pnp_resource.

I don't like pnp_get_pnp_resource() and hope that it is temporary,
but we need it for a little while.

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