drm/nouveau/gr: convert to new-style nvkm_engine
[deliverable/linux.git] / drivers / gpu / drm / nouveau / nouveau_sysfs.c
index 1ec8f38ae69a030952c88cc685ca7335b5e4275d..ce612064fa6a93d3aae2eeb734dc27d156432a0d 100644 (file)
@@ -188,9 +188,9 @@ nouveau_sysfs_init(struct drm_device *dev)
        if (!sysfs)
                return -ENOMEM;
 
-       ret = nvif_object_init(nvif_object(device), NULL, NVDRM_CONTROL,
+       ret = nvif_object_init(&device->object, NVDRM_CONTROL,
                               NVIF_IOCTL_NEW_V0_CONTROL, NULL, 0,
-                             &sysfs->ctrl);
+                              &sysfs->ctrl);
        if (ret == 0)
                device_create_file(nv_device_base(nvxx_device(device)), &dev_attr_pstate);
 
This page took 0.027183 seconds and 5 git commands to generate.