aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/resource.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-04-28 18:34:28 -0400
committerLen Brown <len.brown@intel.com>2008-04-29 03:22:27 -0400
commit02d83b5da3efa3c278ce87db2637f3dd6837166d (patch)
treebd3de850c6a761de0584b5c82e22659b9f4a7482 /drivers/pnp/resource.c
parent8766ad0ce8621aa6f0e4a91ef355509cc3364d5b (diff)
PNP: make pnp_resource_table private to PNP core
There are no remaining references to the PNP_MAX_* constants or the pnp_resource_table structure outside of the PNP core. Make them private to the PNP core. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/resource.c')
-rw-r--r--drivers/pnp/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c
index 84362818fa8b..f7adc7eefbf8 100644
--- a/drivers/pnp/resource.c
+++ b/drivers/pnp/resource.c
@@ -502,7 +502,7 @@ int pnp_check_dma(struct pnp_dev *dev, struct resource *res)
502struct resource *pnp_get_resource(struct pnp_dev *dev, 502struct resource *pnp_get_resource(struct pnp_dev *dev,
503 unsigned int type, unsigned int num) 503 unsigned int type, unsigned int num)
504{ 504{
505 struct pnp_resource_table *res = &dev->res; 505 struct pnp_resource_table *res = dev->res;
506 506
507 switch (type) { 507 switch (type) {
508 case IORESOURCE_IO: 508 case IORESOURCE_IO: