]> Pileus Git - ~andy/linux/blobdiff - drivers/ata/sata_sx4.c
Merge branch 'next-evm' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/ima...
[~andy/linux] / drivers / ata / sata_sx4.c
index 8fd3b7252bda029baf14fca9741c21f08448e6ef..cdaebbe3d1847ed703e913aaed90ee5faf6ba397 100644 (file)
@@ -1440,15 +1440,13 @@ static void pdc_20621_init(struct ata_host *host)
 static int pdc_sata_init_one(struct pci_dev *pdev,
                             const struct pci_device_id *ent)
 {
-       static int printed_version;
        const struct ata_port_info *ppi[] =
                { &pdc_port_info[ent->driver_data], NULL };
        struct ata_host *host;
        struct pdc_host_priv *hpriv;
        int i, rc;
 
-       if (!printed_version++)
-               dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n");
+       ata_print_version_once(&pdev->dev, DRV_VERSION);
 
        /* allocate host */
        host = ata_host_alloc_pinfo(&pdev->dev, ppi, 4);