diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include/subdev/devinit.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/subdev/devinit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/devinit.h b/drivers/gpu/drm/nouveau/core/include/subdev/devinit.h index e007a9d..b627d53 100644 --- a/drivers/gpu/drm/nouveau/core/include/subdev/devinit.h +++ b/drivers/gpu/drm/nouveau/core/include/subdev/devinit.h @@ -15,7 +15,7 @@ struct nouveau_devinit { static inline struct nouveau_devinit * nouveau_devinit(void *obj) { - return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_DEVINIT]; + return (void *)nouveau_subdev(obj, NVDEV_SUBDEV_DEVINIT); } extern struct nouveau_oclass *nv04_devinit_oclass; |