diff options
Diffstat (limited to 'drivers/ata/pata_sch.c')
-rw-r--r-- | drivers/ata/pata_sch.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ata/pata_sch.c b/drivers/ata/pata_sch.c index e97b32f03a6e..7c78b9993627 100644 --- a/drivers/ata/pata_sch.c +++ b/drivers/ata/pata_sch.c | |||
@@ -172,12 +172,9 @@ static void sch_set_dmamode(struct ata_port *ap, struct ata_device *adev) | |||
172 | static int __devinit sch_init_one(struct pci_dev *pdev, | 172 | static int __devinit sch_init_one(struct pci_dev *pdev, |
173 | const struct pci_device_id *ent) | 173 | const struct pci_device_id *ent) |
174 | { | 174 | { |
175 | static int printed_version; | ||
176 | const struct ata_port_info *ppi[] = { &sch_port_info, NULL }; | 175 | const struct ata_port_info *ppi[] = { &sch_port_info, NULL }; |
177 | 176 | ||
178 | if (!printed_version++) | 177 | ata_print_version_once(&pdev->dev, DRV_VERSION); |
179 | dev_printk(KERN_DEBUG, &pdev->dev, | ||
180 | "version " DRV_VERSION "\n"); | ||
181 | 178 | ||
182 | return ata_pci_bmdma_init_one(pdev, ppi, &sch_sht, NULL, 0); | 179 | return ata_pci_bmdma_init_one(pdev, ppi, &sch_sht, NULL, 0); |
183 | } | 180 | } |