summaryrefslogtreecommitdiff
path: root/drivers/gpu/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:40:44 +1000
commitc9582455ab74246ec9f5986db3821b33058de585 (patch)
treee00925a4b5d11e943455eb398540ff2015c18fe9 /drivers/gpu/drm/nouveau/include/nvif/device.h
parent54dcadd5b65e12f851ff80af4afef606040ad8b9 (diff)
downloadlwn-c9582455ab74246ec9f5986db3821b33058de585.tar.gz
lwn-c9582455ab74246ec9f5986db3821b33058de585.zip
drm/nouveau/mmu: convert to new-style nvkm_subdev
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvif/device.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/device.h b/drivers/gpu/drm/nouveau/include/nvif/device.h
index 66d1bc23f3d7..383a47270f3e 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/device.h
+++ b/drivers/gpu/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