diff options
Diffstat (limited to 'drivers/pnp/pnpacpi/rsparser.c')
-rw-r--r-- | drivers/pnp/pnpacpi/rsparser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pnp/pnpacpi/rsparser.c b/drivers/pnp/pnpacpi/rsparser.c index a5f5e2130e75..baaf60212779 100644 --- a/drivers/pnp/pnpacpi/rsparser.c +++ b/drivers/pnp/pnpacpi/rsparser.c | |||
@@ -777,9 +777,10 @@ static acpi_status pnpacpi_type_resources(struct acpi_resource *res, void *data) | |||
777 | return AE_OK; | 777 | return AE_OK; |
778 | } | 778 | } |
779 | 779 | ||
780 | int pnpacpi_build_resource_template(acpi_handle handle, | 780 | int pnpacpi_build_resource_template(struct pnp_dev *dev, |
781 | struct acpi_buffer *buffer) | 781 | struct acpi_buffer *buffer) |
782 | { | 782 | { |
783 | acpi_handle handle = dev->data; | ||
783 | struct acpi_resource *resource; | 784 | struct acpi_resource *resource; |
784 | int res_cnt = 0; | 785 | int res_cnt = 0; |
785 | acpi_status status; | 786 | acpi_status status; |