diff options
| author | Marin Mitov <mitov@issp.bas.bg> | 2008-09-22 16:57:46 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-09-23 11:09:14 -0400 |
| commit | 6675ce13ed783f88ea5d82f0d855462b76ff0dad (patch) | |
| tree | 0d473391f3aeb9c87deaaafb2403853aba4b67d6 | |
| parent | f9092f358bc2ec5367621478811f046f82873376 (diff) | |
Documentation/DMA-mapping.txt: update for pci_dma_mapping_error() changes
Make the example code consistent with changed API.
Signed-off-by: Marin Mitov <mitov@ispp.bas.bg>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | Documentation/DMA-mapping.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DMA-mapping.txt b/Documentation/DMA-mapping.txt index b463ecd0c7ce..c74fec8c2351 100644 --- a/Documentation/DMA-mapping.txt +++ b/Documentation/DMA-mapping.txt | |||
| @@ -740,7 +740,7 @@ failure can be determined by: | |||
| 740 | dma_addr_t dma_handle; | 740 | dma_addr_t dma_handle; |
| 741 | 741 | ||
| 742 | dma_handle = pci_map_single(pdev, addr, size, direction); | 742 | dma_handle = pci_map_single(pdev, addr, size, direction); |
| 743 | if (pci_dma_mapping_error(dma_handle)) { | 743 | if (pci_dma_mapping_error(pdev, dma_handle)) { |
| 744 | /* | 744 | /* |
| 745 | * reduce current DMA mapping usage, | 745 | * reduce current DMA mapping usage, |
| 746 | * delay and try again later or | 746 | * delay and try again later or |
