aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_amd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_amd.c')
-rw-r--r--drivers/ata/pata_amd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c
index 801554ddc59..dc6b5dae046 100644
--- a/drivers/ata/pata_amd.c
+++ b/drivers/ata/pata_amd.c
@@ -530,14 +530,12 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
530 } 530 }
531 }; 531 };
532 const struct ata_port_info *ppi[] = { NULL, NULL }; 532 const struct ata_port_info *ppi[] = { NULL, NULL };
533 static int printed_version;
534 int type = id->driver_data; 533 int type = id->driver_data;
535 void *hpriv = NULL; 534 void *hpriv = NULL;
536 u8 fifo; 535 u8 fifo;
537 int rc; 536 int rc;
538 537
539 if (!printed_version++) 538 ata_print_version_once(&pdev->dev, DRV_VERSION);
540 dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n");
541 539
542 rc = pcim_enable_device(pdev); 540 rc = pcim_enable_device(pdev);
543 if (rc) 541 if (rc)