[libata] use dev_printk() throughout drivers
[deliverable/linux.git] / drivers / scsi / sata_sx4.c
index d9a8baff0d4dfc5b9d7ed501421beb6d54212d62..0ec21e09f5d84d04a20a0b32e0f58fbf205f8457 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
+#include <linux/device.h>
 #include "scsi.h"
 #include <scsi/scsi_host.h>
 #include <linux/libata.h>
@@ -1385,7 +1386,7 @@ static int pdc_sata_init_one (struct pci_dev *pdev, const struct pci_device_id *
        int rc;
 
        if (!printed_version++)
-               printk(KERN_DEBUG DRV_NAME " version " DRV_VERSION "\n");
+               dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n");
 
        /*
         * If this driver happens to only be useful on Apple's K2, then
This page took 0.027391 seconds and 5 git commands to generate.