diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include/subdev/ltc.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/subdev/ltc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/ltc.h b/drivers/gpu/drm/nouveau/core/include/subdev/ltc.h index b909a73..432717a 100644 --- a/drivers/gpu/drm/nouveau/core/include/subdev/ltc.h +++ b/drivers/gpu/drm/nouveau/core/include/subdev/ltc.h @@ -25,7 +25,7 @@ struct nouveau_ltc { static inline struct nouveau_ltc * nouveau_ltc(void *obj) { - return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_LTC]; + return (void *)nouveau_subdev(obj, NVDEV_SUBDEV_LTC); } extern struct nouveau_oclass *gf100_ltc_oclass; |