diff options
Diffstat (limited to 'drivers/pnp/pnpbios/core.c')
-rw-r--r-- | drivers/pnp/pnpbios/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c index 76d398531da6..f5477ca85956 100644 --- a/drivers/pnp/pnpbios/core.c +++ b/drivers/pnp/pnpbios/core.c | |||
@@ -347,7 +347,7 @@ static int __init insert_device(struct pnp_bios_node *node) | |||
347 | 347 | ||
348 | /* clear out the damaged flags */ | 348 | /* clear out the damaged flags */ |
349 | if (!dev->active) | 349 | if (!dev->active) |
350 | pnp_init_resource_table(&dev->res); | 350 | pnp_init_resources(dev); |
351 | 351 | ||
352 | pnp_add_device(dev); | 352 | pnp_add_device(dev); |
353 | pnpbios_interface_attach_device(node); | 353 | pnpbios_interface_attach_device(node); |