diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-30 20:39:11 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-30 20:39:11 +0100 |
commit | a9524a76f70f3343e4be27f95a7e92a8ba5f9009 (patch) | |
tree | 00d2b6d02dfaa4796ad4bee51171aabe39b52dd8 /drivers/scsi/sata_sx4.c | |
parent | [libata ata_piix] fix native mode probe, after recent updates (diff) | |
download | linux-a9524a76f70f3343e4be27f95a7e92a8ba5f9009.tar.xz linux-a9524a76f70f3343e4be27f95a7e92a8ba5f9009.zip |
[libata] use dev_printk() throughout drivers
A few drivers were not following the standard meme of printing out
their driver name and version at module load time; this is fixed
as well.
Diffstat (limited to 'drivers/scsi/sata_sx4.c')
-rw-r--r-- | drivers/scsi/sata_sx4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sx4.c b/drivers/scsi/sata_sx4.c index d9a8baff0d4d..0ec21e09f5d8 100644 --- a/drivers/scsi/sata_sx4.c +++ b/drivers/scsi/sata_sx4.c @@ -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 |