]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/DMA-mapping.txt
h63xx: initial omap board support.
[linux-2.6-omap-h63xx.git] / Documentation / DMA-mapping.txt
index b463ecd0c7cebf36f53104015afcbeeccf4b934d..c74fec8c2351168d1329c527183f3a975234030e 100644 (file)
@@ -740,7 +740,7 @@ failure can be determined by:
        dma_addr_t dma_handle;
 
        dma_handle = pci_map_single(pdev, addr, size, direction);
-       if (pci_dma_mapping_error(dma_handle)) {
+       if (pci_dma_mapping_error(pdev, dma_handle)) {
                /*
                 * reduce current DMA mapping usage,
                 * delay and try again later or