diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-28 18:34:36 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 03:22:29 -0400 |
commit | cc8c2e308194f0997c718c7c735550ff06754d20 (patch) | |
tree | 1464d278291fd285653ff026f62c5f4f6d75286c /drivers/pnp/base.h | |
parent | dc16f5f2ede8cc2acf8ac22857a7fecf3a4296c2 (diff) |
PNP: make generic pnp_add_io_resource()
Add a pnp_add_io_resource() that can be used by all the PNP
backends. This consolidates a little more pnp_resource_table
knowledge into one place.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/base.h')
-rw-r--r-- | drivers/pnp/base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h index b6719b384347..bfb08abc311b 100644 --- a/drivers/pnp/base.h +++ b/drivers/pnp/base.h | |||
@@ -45,3 +45,6 @@ struct pnp_resource *pnp_add_irq_resource(struct pnp_dev *dev, int irq, | |||
45 | int flags); | 45 | int flags); |
46 | struct pnp_resource *pnp_add_dma_resource(struct pnp_dev *dev, int dma, | 46 | struct pnp_resource *pnp_add_dma_resource(struct pnp_dev *dev, int dma, |
47 | int flags); | 47 | int flags); |
48 | struct pnp_resource *pnp_add_io_resource(struct pnp_dev *dev, | ||
49 | resource_size_t start, | ||
50 | resource_size_t end, int flags); | ||