summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-08-14 20:42:28 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-08-14 20:42:28 +0200
commit9c7137483d1ef47eaff99f98b3c4e552c726e5d9 (patch)
tree68541d45db18bbfda35ab528ba0e304a2fe4d196
parenta8a7106cdae481d9b10e3eed61f928f7e4add344 (diff)
nouveau: fix typomodesetting-101
-rw-r--r--linux-core/nouveau_sgdma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/nouveau_sgdma.c b/linux-core/nouveau_sgdma.c
index b967b6a5..eeecbc90 100644
--- a/linux-core/nouveau_sgdma.c
+++ b/linux-core/nouveau_sgdma.c
@@ -49,7 +49,8 @@ nouveau_sgdma_populate(struct drm_ttm_backend *be, unsigned long num_pages,
NV_CTXDMA_PAGE_SIZE,
PCI_DMA_BIDIRECTIONAL);
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
- if (pci_dma_mapping_error(be->dev->pdev, nvbe->pagelist[d])) {
+ if (pci_dma_mapping_error(nvbe->dev->pdev,
+nvbe->pagelist[d])) {
#else
if (pci_dma_mapping_error(nvbe->pagelist[d])) {
#endif