[PATCH 2/2] drm/nouveau: Use pci_dma_mapping_error()

2011-04-27 Thread Aurelien Jarno
... instead of comparing with DMA_ERROR_CODE, which will only work on powerpc/sparc/x86. Signed-off-by: Aurelien Jarno --- drivers/gpu/drm/nouveau/nouveau_sgdma.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_sgdma.c b/drivers/gpu/drm

[PATCH 2/2] drm/nouveau: Use pci_dma_mapping_error()

2011-04-26 Thread Aurelien Jarno
... instead of comparing with DMA_ERROR_CODE, which will only work on powerpc/sparc/x86. Signed-off-by: Aurelien Jarno --- drivers/gpu/drm/nouveau/nouveau_sgdma.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_sgdma.c b/drivers/gpu/drm