]> Pileus Git - ~andy/linux/blobdiff - drivers/ata/pata_mpiix.c
Merge branch 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb...
[~andy/linux] / drivers / ata / pata_mpiix.c
index d8d9c5807740cf6990923a77cd2b7ece14366e03..9dc16df8419120d265039e9d2b6c639111428a9a 100644 (file)
@@ -152,15 +152,13 @@ static struct ata_port_operations mpiix_port_ops = {
 static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id)
 {
        /* Single threaded by the PCI probe logic */
-       static int printed_version;
        struct ata_host *host;
        struct ata_port *ap;
        void __iomem *cmd_addr, *ctl_addr;
        u16 idetim;
        int cmd, ctl, irq;
 
-       if (!printed_version++)
-               dev_printk(KERN_DEBUG, &dev->dev, "version " DRV_VERSION "\n");
+       ata_print_version_once(&dev->dev, DRV_VERSION);
 
        host = ata_host_alloc(&dev->dev, 1);
        if (!host)