summaryrefslogtreecommitdiff
path: root/bin/nv_rffunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nv_rffunc.h')
-rw-r--r--bin/nv_rffunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nv_rffunc.h b/bin/nv_rffunc.h
index caf973dc3..350059b84 100644
--- a/bin/nv_rffunc.h
+++ b/bin/nv_rffunc.h
@@ -21,7 +21,7 @@ nv_rfb(struct nvif_device *device, u64 offset)
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");