summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/base.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2010-03-05 10:47:57 -0700
committerLen Brown <len.brown@intel.com>2010-03-14 20:08:38 -0400
commit7e0e9c042790d4ea44c6a00ddaad8b8bbcc3f17f (patch)
treeb0caf1f008ae1f2f2f32bfecfaba7c8ba9986c6f /drivers/pnp/base.h
parentfa35b49260b615d634bfa1f767aa315fa323c2e9 (diff)
downloadlinux-7e0e9c042790d4ea44c6a00ddaad8b8bbcc3f17f.tar.bz2
PNPACPI: add bus number support
Add support for bus number resources. This is for bridges with a range of bus numbers behind them. Previously, PNP ignored bus number resources. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h
index 0b8d14050efa..0bab84ebb15d 100644
--- a/drivers/pnp/base.h
+++ b/drivers/pnp/base.h
@@ -166,6 +166,9 @@ struct pnp_resource *pnp_add_io_resource(struct pnp_dev *dev,
struct pnp_resource *pnp_add_mem_resource(struct pnp_dev *dev,
resource_size_t start,
resource_size_t end, int flags);
+struct pnp_resource *pnp_add_bus_resource(struct pnp_dev *dev,
+ resource_size_t start,
+ resource_size_t end);
extern int pnp_debug;