aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_opti.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_opti.c')
-rw-r--r--drivers/ata/pata_opti.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c
index 00c5a02a94fc..accc033faf77 100644
--- a/drivers/ata/pata_opti.c
+++ b/drivers/ata/pata_opti.c
@@ -167,10 +167,8 @@ static int opti_init_one(struct pci_dev *dev, const struct pci_device_id *id)
167 .port_ops = &opti_port_ops 167 .port_ops = &opti_port_ops
168 }; 168 };
169 const struct ata_port_info *ppi[] = { &info, NULL }; 169 const struct ata_port_info *ppi[] = { &info, NULL };
170 static int printed_version;
171 170
172 if (!printed_version++) 171 ata_print_version_once(&dev->dev, DRV_VERSION);
173 dev_printk(KERN_DEBUG, &dev->dev, "version " DRV_VERSION "\n");
174 172
175 return ata_pci_sff_init_one(dev, ppi, &opti_sht, NULL, 0); 173 return ata_pci_sff_init_one(dev, ppi, &opti_sht, NULL, 0);
176} 174}