summaryrefslogtreecommitdiff
path: root/bin/nv_rifunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nv_rifunc.h')
-rw-r--r--bin/nv_rifunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nv_rifunc.h b/bin/nv_rifunc.h
index be9578ca8..b1ffcfb6d 100644
--- a/bin/nv_rifunc.h
+++ b/bin/nv_rifunc.h
@@ -8,7 +8,7 @@ static u64 map_page = ~0ULL;
static CAST
nv_rfb(struct nvif_device *device, u64 offset)
{
- struct pci_dev *pdev = nvkm_device(device)->pdev;
+ struct pci_dev *pdev = nvxx_device(device)->pdev;
u64 page = (offset & ~(PAGE_SIZE - 1));
u64 addr = (offset & (PAGE_SIZE - 1));