diff options
Diffstat (limited to 'drivers/pnp/pnpbios/rsparser.c')
-rw-r--r-- | drivers/pnp/pnpbios/rsparser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pnp/pnpbios/rsparser.c b/drivers/pnp/pnpbios/rsparser.c index 7428f62db4d2..e90a3d4360b2 100644 --- a/drivers/pnp/pnpbios/rsparser.c +++ b/drivers/pnp/pnpbios/rsparser.c | |||
@@ -145,8 +145,7 @@ static unsigned char *pnpbios_parse_allocated_resource_data(struct pnp_dev *dev, | |||
145 | 145 | ||
146 | dev_dbg(&dev->dev, "parse allocated resources\n"); | 146 | dev_dbg(&dev->dev, "parse allocated resources\n"); |
147 | 147 | ||
148 | /* Blank the resource table values */ | 148 | pnp_init_resources(dev); |
149 | pnp_init_resource_table(&dev->res); | ||
150 | 149 | ||
151 | while ((char *)p < (char *)end) { | 150 | while ((char *)p < (char *)end) { |
152 | 151 | ||