diff options
Diffstat (limited to 'drivers/ata/pata_sl82c105.c')
-rw-r--r-- | drivers/ata/pata_sl82c105.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ata/pata_sl82c105.c b/drivers/ata/pata_sl82c105.c index 81ef207f8265..6c37181341ea 100644 --- a/drivers/ata/pata_sl82c105.c +++ b/drivers/ata/pata_sl82c105.c | |||
@@ -344,6 +344,11 @@ static int sl82c105_init_one(struct pci_dev *dev, const struct pci_device_id *id | |||
344 | NULL }; | 344 | NULL }; |
345 | u32 val; | 345 | u32 val; |
346 | int rev; | 346 | int rev; |
347 | int rc; | ||
348 | |||
349 | rc = pcim_enable_device(dev); | ||
350 | if (rc) | ||
351 | return rc; | ||
347 | 352 | ||
348 | rev = sl82c105_bridge_revision(dev); | 353 | rev = sl82c105_bridge_revision(dev); |
349 | 354 | ||