Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[linux-2.6-microblaze.git] / drivers / ata / pata_cmd640.c
index d0bcabb..1a3372a 100644 (file)
@@ -61,7 +61,7 @@ static void cmd640_set_piomode(struct ata_port *ap, struct ata_device *adev)
        struct ata_device *pair = ata_dev_pair(adev);
 
        if (ata_timing_compute(adev, adev->pio_mode, &t, T, 0) < 0) {
-               printk(KERN_ERR DRV_NAME ": mode computation failed.\n");
+               ata_dev_err(adev, DRV_NAME ": mode computation failed.\n");
                return;
        }