diff options
Diffstat (limited to 'nvkm/include/subdev/vm.h')
-rw-r--r-- | nvkm/include/subdev/vm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nvkm/include/subdev/vm.h b/nvkm/include/subdev/vm.h index c9509039f..d56585f1c 100644 --- a/nvkm/include/subdev/vm.h +++ b/nvkm/include/subdev/vm.h @@ -91,7 +91,7 @@ struct nouveau_vmmgr { static inline struct nouveau_vmmgr * nouveau_vmmgr(void *obj) { - return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_VM]; + return (void *)nouveau_subdev(obj, NVDEV_SUBDEV_VM); } #define nouveau_vmmgr_create(p,e,o,i,f,d) \ |