summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/pnpacpi/pnpacpi.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-04-28 16:34:06 -0600
committerLen Brown <len.brown@intel.com>2008-04-29 03:22:21 -0400
commit4ab55d8d4f7b910c4c60e0f8ff70d0dfdd484f02 (patch)
tree7ae1fd11249b844b7ae53faff5ee2906a6a796c2 /drivers/pnp/pnpacpi/pnpacpi.h
parent59284cb4099411bc6f4915a5a4cb76414440c447 (diff)
downloadop-kernel-dev-4ab55d8d4f7b910c4c60e0f8ff70d0dfdd484f02.zip
op-kernel-dev-4ab55d8d4f7b910c4c60e0f8ff70d0dfdd484f02.tar.gz
PNP: remove more pnp_resource_table arguments
Stop passing around struct pnp_resource_table pointers. In most cases, the caller doesn't need to know how the resources are stored inside the struct pnp_dev. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-By: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/pnpacpi/pnpacpi.h')
-rw-r--r--drivers/pnp/pnpacpi/pnpacpi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pnp/pnpacpi/pnpacpi.h b/drivers/pnp/pnpacpi/pnpacpi.h
index 116c591..db0c4f2 100644
--- a/drivers/pnp/pnpacpi/pnpacpi.h
+++ b/drivers/pnp/pnpacpi/pnpacpi.h
@@ -5,8 +5,8 @@
#include <linux/acpi.h>
#include <linux/pnp.h>
-acpi_status pnpacpi_parse_allocated_resource(acpi_handle, struct pnp_resource_table*);
-acpi_status pnpacpi_parse_resource_option_data(acpi_handle, struct pnp_dev*);
-int pnpacpi_encode_resources(struct pnp_resource_table *, struct acpi_buffer *);
+acpi_status pnpacpi_parse_allocated_resource(struct pnp_dev *);
+acpi_status pnpacpi_parse_resource_option_data(struct pnp_dev *);
+int pnpacpi_encode_resources(struct pnp_dev *, struct acpi_buffer *);
int pnpacpi_build_resource_template(struct pnp_dev *, struct acpi_buffer *);
#endif
OpenPOWER on IntegriCloud