diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-01-12 12:33:37 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-19 14:23:01 +1000 |
commit | d339db83b993c89c77c6ab85a6139e4bcd330c77 (patch) | |
tree | f982e0511df99a4a1e7850d2daf5f251f4e2afa1 /bin/nv_rifunc.h | |
parent | 97a7810f7a23e4105db7222e7f4a5cdccc58237a (diff) | |
download | nouveau-d339db83b993c89c77c6ab85a6139e4bcd330c77.tar.gz |
nvif: namespace of nvkm accessors (no binary change)
NVKM is having it's namespace switched to nvkm_, which will conflict
with these functions (which are workarounds for the fact that as of
yet, we still aren't able to split DRM and NVKM completely).
A comparison of objdump disassemblies proves no code changes.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'bin/nv_rifunc.h')
-rw-r--r-- | bin/nv_rifunc.h | 2 |
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)); |