drm/nouveau/core: object.engine is always a nouveau_engine now
[deliverable/linux.git] / drivers / gpu / drm / nouveau / core / include / core / subdev.h
index d9739aed0150e69d2aada513207c8c412f130d05..68f1c419d15658527b499bae01c7ac2de3645d2a 100644 (file)
@@ -28,9 +28,9 @@ nv_subdev(void *obj)
 }
 
 static inline int
-nv_subidx(struct nouveau_object *object)
+nv_subidx(struct nouveau_subdev *subdev)
 {
-       return nv_hclass(nv_subdev(object)) & 0xff;
+       return nv_hclass(subdev) & 0xff;
 }
 
 struct nouveau_subdev *nouveau_subdev(void *obj, int idx);
This page took 0.025576 seconds and 5 git commands to generate.