diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include/subdev/bus.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/subdev/bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/bus.h b/drivers/gpu/drm/nouveau/core/include/subdev/bus.h index 697f7ce..2d40f0c 100644 --- a/drivers/gpu/drm/nouveau/core/include/subdev/bus.h +++ b/drivers/gpu/drm/nouveau/core/include/subdev/bus.h @@ -18,7 +18,7 @@ struct nouveau_bus { static inline struct nouveau_bus * nouveau_bus(void *obj) { - return (void *)nv_device(obj)->subdev[NVDEV_SUBDEV_BUS]; + return (void *)nouveau_subdev(obj, NVDEV_SUBDEV_BUS); } #define nouveau_bus_create(p, e, o, d) \ |