]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/dma/ioat_dma.c
I/OAT: fix null device in call to dev_err()
[linux-2.6-omap-h63xx.git] / drivers / dma / ioat_dma.c
index c17ec3276062219216f7d85d30a7c1646e82a679..45e7b4666c7b3c5197eeaa0c256dcf76860a2161 100644 (file)
@@ -1363,7 +1363,7 @@ err_completion_pool:
 err_dma_pool:
        kfree(device);
 err_kzalloc:
-       dev_err(&device->pdev->dev,
+       dev_err(&pdev->dev,
                "Intel(R) I/OAT DMA Engine initialization failed\n");
        return NULL;
 }