aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_netcell.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_netcell.c')
-rw-r--r--drivers/ata/pata_netcell.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ata/pata_netcell.c b/drivers/ata/pata_netcell.c
index 25c922abd554..0e4a08e15209 100644
--- a/drivers/ata/pata_netcell.c
+++ b/drivers/ata/pata_netcell.c
@@ -100,11 +100,16 @@ static int netcell_init_one (struct pci_dev *pdev, const struct pci_device_id *e
100 .port_ops = &netcell_ops, 100 .port_ops = &netcell_ops,
101 }; 101 };
102 const struct ata_port_info *port_info[] = { &info, NULL }; 102 const struct ata_port_info *port_info[] = { &info, NULL };
103 int rc;
103 104
104 if (!printed_version++) 105 if (!printed_version++)
105 dev_printk(KERN_DEBUG, &pdev->dev, 106 dev_printk(KERN_DEBUG, &pdev->dev,
106 "version " DRV_VERSION "\n"); 107 "version " DRV_VERSION "\n");
107 108
109 rc = pcim_enable_device(pdev);
110 if (rc)
111 return rc;
112
108 /* Any chip specific setup/optimisation/messages here */ 113 /* Any chip specific setup/optimisation/messages here */
109 ata_pci_clear_simplex(pdev); 114 ata_pci_clear_simplex(pdev);
110 115