X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fscsi%2Fsata_nv.c;h=37a4fae95ed4ffe738dd5412ca240f6506d6eafa;hb=cf1d469ec10015f8ced338c00e7944941f816e89;hp=1a56d6c79dddfc8fac2e52d4320110977e1ce599;hpb=ccd7bc2f67fdfa9c47ceae64f1117d1fb6cb8737;p=powerpc.git diff --git a/drivers/scsi/sata_nv.c b/drivers/scsi/sata_nv.c index 1a56d6c79d..37a4fae95e 100644 --- a/drivers/scsi/sata_nv.c +++ b/drivers/scsi/sata_nv.c @@ -61,7 +61,7 @@ #include #include #include -#include "scsi.h" +#include #include #include @@ -218,7 +218,7 @@ static struct pci_driver nv_pci_driver = { .remove = ata_pci_remove_one, }; -static Scsi_Host_Template nv_sht = { +static struct scsi_host_template nv_sht = { .module = THIS_MODULE, .name = DRV_NAME, .ioctl = ata_scsi_ioctl, @@ -383,7 +383,7 @@ static int nv_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) return -ENODEV; if (!printed_version++) - printk(KERN_DEBUG DRV_NAME " version " DRV_VERSION "\n"); + dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); rc = pci_enable_device(pdev); if (rc)