]> Pileus Git - ~andy/linux/blobdiff - drivers/ata/sata_vsc.c
Merge branch 'next-evm' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/ima...
[~andy/linux] / drivers / ata / sata_vsc.c
index dcd57b04d36ad8a12bf98d077bbdd202d5998fba..6135a5288695cc165b16238a9f00bb2297f4b7b9 100644 (file)
@@ -346,14 +346,12 @@ static int __devinit vsc_sata_init_one(struct pci_dev *pdev,
                .port_ops       = &vsc_sata_ops,
        };
        const struct ata_port_info *ppi[] = { &pi, NULL };
-       static int printed_version;
        struct ata_host *host;
        void __iomem *mmio_base;
        int i, rc;
        u8 cls;
 
-       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);