diff options
Diffstat (limited to 'drivers/pnp/isapnp')
-rw-r--r-- | drivers/pnp/isapnp/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c index 6740016437d9..6f1007548c93 100644 --- a/drivers/pnp/isapnp/core.c +++ b/drivers/pnp/isapnp/core.c | |||
@@ -424,7 +424,7 @@ static struct pnp_dev *__init isapnp_parse_device(struct pnp_card *card, | |||
424 | dev->capabilities |= PNP_READ; | 424 | dev->capabilities |= PNP_READ; |
425 | dev->capabilities |= PNP_WRITE; | 425 | dev->capabilities |= PNP_WRITE; |
426 | dev->capabilities |= PNP_DISABLE; | 426 | dev->capabilities |= PNP_DISABLE; |
427 | pnp_init_resource_table(&dev->res); | 427 | pnp_init_resources(dev); |
428 | return dev; | 428 | return dev; |
429 | } | 429 | } |
430 | 430 | ||
@@ -981,7 +981,7 @@ static int isapnp_get_resources(struct pnp_dev *dev) | |||
981 | int ret; | 981 | int ret; |
982 | 982 | ||
983 | dev_dbg(&dev->dev, "get resources\n"); | 983 | dev_dbg(&dev->dev, "get resources\n"); |
984 | pnp_init_resource_table(&dev->res); | 984 | pnp_init_resources(dev); |
985 | isapnp_cfg_begin(dev->card->number, dev->number); | 985 | isapnp_cfg_begin(dev->card->number, dev->number); |
986 | ret = isapnp_read_resources(dev); | 986 | ret = isapnp_read_resources(dev); |
987 | isapnp_cfg_end(); | 987 | isapnp_cfg_end(); |