diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include/subdev/timer.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/subdev/timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/timer.h b/drivers/gpu/drm/nouveau/core/include/subdev/timer.h index db9be80..36b5184 100644 --- a/drivers/gpu/drm/nouveau/core/include/subdev/timer.h +++ b/drivers/gpu/drm/nouveau/core/include/subdev/timer.h @@ -42,7 +42,7 @@ struct nouveau_timer { static inline struct nouveau_timer * nouveau_timer(void *obj) { - return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_TIMER]; + return (void *)nouveau_subdev(obj, NVDEV_SUBDEV_TIMER); } #define nouveau_timer_create(p,e,o,d) \ |