summaryrefslogtreecommitdiff
path: root/drm/nouveau/include/nvif/device.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 14:54:21 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:37:42 +1000
commit7e061e28bd0b0c0d41b2c91d1cc6c3a6d3ec61ec (patch)
tree37e8c3a99007e48c143de5c1e64cf5b165e3f15f /drm/nouveau/include/nvif/device.h
parent2a986332d4888c9ab616da0c04a73375144a650e (diff)
downloadnouveau-7e061e28bd0b0c0d41b2c91d1cc6c3a6d3ec61ec.tar.gz
mmu: convert to new-style nvkm_subdev
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/include/nvif/device.h')
-rw-r--r--drm/nouveau/include/nvif/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/include/nvif/device.h b/drm/nouveau/include/nvif/device.h
index 66d1bc23f..383a47270 100644
--- a/drm/nouveau/include/nvif/device.h
+++ b/drm/nouveau/include/nvif/device.h
@@ -52,7 +52,7 @@ u64 nvif_device_time(struct nvif_device *);
})
#define nvxx_bios(a) nvxx_device(a)->bios
#define nvxx_fb(a) nvxx_device(a)->fb
-#define nvxx_mmu(a) nvkm_mmu(nvxx_device(a))
+#define nvxx_mmu(a) nvxx_device(a)->mmu
#define nvxx_bar(a) nvxx_device(a)->bar
#define nvxx_gpio(a) nvxx_device(a)->gpio
#define nvxx_clk(a) nvxx_device(a)->clk