diff options
Diffstat (limited to 'nvkm/include/subdev/fb.h')
-rw-r--r-- | nvkm/include/subdev/fb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nvkm/include/subdev/fb.h b/nvkm/include/subdev/fb.h index 8d0032f15..889603fbb 100644 --- a/nvkm/include/subdev/fb.h +++ b/nvkm/include/subdev/fb.h @@ -80,7 +80,7 @@ nouveau_fb(void *obj) nv_subidx(obj) == NVDEV_SUBDEV_FB) return obj; - return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_FB]; + return (void *)nouveau_subdev(obj, NVDEV_SUBDEV_FB); } extern struct nouveau_oclass *nv04_fb_oclass; |