diff options
Diffstat (limited to 'drivers/pnp/pnpacpi/rsparser.c')
-rw-r--r-- | drivers/pnp/pnpacpi/rsparser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pnp/pnpacpi/rsparser.c b/drivers/pnp/pnpacpi/rsparser.c index c5adf7631ac2..33dbf3644f2b 100644 --- a/drivers/pnp/pnpacpi/rsparser.c +++ b/drivers/pnp/pnpacpi/rsparser.c | |||
@@ -410,8 +410,7 @@ acpi_status pnpacpi_parse_allocated_resource(struct pnp_dev *dev) | |||
410 | 410 | ||
411 | dev_dbg(&dev->dev, "parse allocated resources\n"); | 411 | dev_dbg(&dev->dev, "parse allocated resources\n"); |
412 | 412 | ||
413 | /* Blank the resource table values */ | 413 | pnp_init_resources(dev); |
414 | pnp_init_resource_table(&dev->res); | ||
415 | 414 | ||
416 | return acpi_walk_resources(handle, METHOD_NAME__CRS, | 415 | return acpi_walk_resources(handle, METHOD_NAME__CRS, |
417 | pnpacpi_allocated_resource, dev); | 416 | pnpacpi_allocated_resource, dev); |