diff options
Diffstat (limited to 'drivers/ata/pata_sil680.c')
-rw-r--r-- | drivers/ata/pata_sil680.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c index 118787caa93f..31f759b0ab71 100644 --- a/drivers/ata/pata_sil680.c +++ b/drivers/ata/pata_sil680.c | |||
@@ -327,13 +327,11 @@ static int __devinit sil680_init_one(struct pci_dev *pdev, | |||
327 | .port_ops = &sil680_port_ops | 327 | .port_ops = &sil680_port_ops |
328 | }; | 328 | }; |
329 | const struct ata_port_info *ppi[] = { &info, NULL }; | 329 | const struct ata_port_info *ppi[] = { &info, NULL }; |
330 | static int printed_version; | ||
331 | struct ata_host *host; | 330 | struct ata_host *host; |
332 | void __iomem *mmio_base; | 331 | void __iomem *mmio_base; |
333 | int rc, try_mmio; | 332 | int rc, try_mmio; |
334 | 333 | ||
335 | if (!printed_version++) | 334 | ata_print_version_once(&pdev->dev, DRV_VERSION); |
336 | dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); | ||
337 | 335 | ||
338 | rc = pcim_enable_device(pdev); | 336 | rc = pcim_enable_device(pdev); |
339 | if (rc) | 337 | if (rc) |