diff options
Diffstat (limited to 'drivers/pnp/isapnp')
-rw-r--r-- | drivers/pnp/isapnp/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c index 1a0d33a12862..b035d60a1dcc 100644 --- a/drivers/pnp/isapnp/core.c +++ b/drivers/pnp/isapnp/core.c | |||
@@ -1040,7 +1040,7 @@ static int isapnp_set_resources(struct pnp_dev *dev, | |||
1040 | 1040 | ||
1041 | static int isapnp_disable_resources(struct pnp_dev *dev) | 1041 | static int isapnp_disable_resources(struct pnp_dev *dev) |
1042 | { | 1042 | { |
1043 | if (!dev || !dev->active) | 1043 | if (!dev->active) |
1044 | return -EINVAL; | 1044 | return -EINVAL; |
1045 | isapnp_cfg_begin(dev->card->number, dev->number); | 1045 | isapnp_cfg_begin(dev->card->number, dev->number); |
1046 | isapnp_deactivate(dev->number); | 1046 | isapnp_deactivate(dev->number); |