diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-28 18:34:28 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 03:22:27 -0400 |
commit | 02d83b5da3efa3c278ce87db2637f3dd6837166d (patch) | |
tree | bd3de850c6a761de0584b5c82e22659b9f4a7482 /drivers/pnp/isapnp | |
parent | 8766ad0ce8621aa6f0e4a91ef355509cc3364d5b (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/isapnp')
-rw-r--r-- | drivers/pnp/isapnp/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c index 990d8cd6295c..4407e844b5ea 100644 --- a/drivers/pnp/isapnp/core.c +++ b/drivers/pnp/isapnp/core.c | |||
@@ -931,7 +931,7 @@ EXPORT_SYMBOL(isapnp_write_byte); | |||
931 | 931 | ||
932 | static int isapnp_read_resources(struct pnp_dev *dev) | 932 | static int isapnp_read_resources(struct pnp_dev *dev) |
933 | { | 933 | { |
934 | struct pnp_resource_table *res = &dev->res; | 934 | struct pnp_resource_table *res = dev->res; |
935 | int tmp, ret; | 935 | int tmp, ret; |
936 | 936 | ||
937 | dev->active = isapnp_read_byte(ISAPNP_CFG_ACTIVATE); | 937 | dev->active = isapnp_read_byte(ISAPNP_CFG_ACTIVATE); |
@@ -987,7 +987,7 @@ static int isapnp_get_resources(struct pnp_dev *dev) | |||
987 | 987 | ||
988 | static int isapnp_set_resources(struct pnp_dev *dev) | 988 | static int isapnp_set_resources(struct pnp_dev *dev) |
989 | { | 989 | { |
990 | struct pnp_resource_table *res = &dev->res; | 990 | struct pnp_resource_table *res = dev->res; |
991 | int tmp; | 991 | int tmp; |
992 | 992 | ||
993 | dev_dbg(&dev->dev, "set resources\n"); | 993 | dev_dbg(&dev->dev, "set resources\n"); |