aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_artop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_artop.c')
-rw-r--r--drivers/ata/pata_artop.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c
index 2215632e4b31..78a93b690959 100644
--- a/drivers/ata/pata_artop.c
+++ b/drivers/ata/pata_artop.c
@@ -346,7 +346,6 @@ static struct ata_port_operations artop6260_ops = {
346 346
347static int artop_init_one (struct pci_dev *pdev, const struct pci_device_id *id) 347static int artop_init_one (struct pci_dev *pdev, const struct pci_device_id *id)
348{ 348{
349 static int printed_version;
350 static const struct ata_port_info info_6210 = { 349 static const struct ata_port_info info_6210 = {
351 .flags = ATA_FLAG_SLAVE_POSS, 350 .flags = ATA_FLAG_SLAVE_POSS,
352 .pio_mask = ATA_PIO4, 351 .pio_mask = ATA_PIO4,
@@ -378,9 +377,7 @@ static int artop_init_one (struct pci_dev *pdev, const struct pci_device_id *id)
378 const struct ata_port_info *ppi[] = { NULL, NULL }; 377 const struct ata_port_info *ppi[] = { NULL, NULL };
379 int rc; 378 int rc;
380 379
381 if (!printed_version++) 380 ata_print_version_once(&pdev->dev, DRV_VERSION);
382 dev_printk(KERN_DEBUG, &pdev->dev,
383 "version " DRV_VERSION "\n");
384 381
385 rc = pcim_enable_device(pdev); 382 rc = pcim_enable_device(pdev);
386 if (rc) 383 if (rc)