summaryrefslogtreecommitdiff
path: root/bin/nv_wffunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nv_wffunc.h')
-rw-r--r--bin/nv_wffunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nv_wffunc.h b/bin/nv_wffunc.h
index fde5bc027..dcb8fe50d 100644
--- a/bin/nv_wffunc.h
+++ b/bin/nv_wffunc.h
@@ -21,7 +21,7 @@ nv_wfb(struct nvif_device *device, u64 offset, CAST data)
if (map)
iounmap(map);
- map = ioremap(pci_resource_start(nvkm_device(device)->pdev, 1) +
+ map = ioremap(pci_resource_start(nvxx_device(device)->pdev, 1) +
page, PAGE_SIZE);
if (!map) {
printk("map failed\n");