summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/engine
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 14:54:15 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:40:30 +1000
commit76ecea5b4b9383edde2bfe49e59e76fec4e21aa4 (patch)
treeffe2996b22f3b7f0eec26a09e26defa1e3bf5907 /drivers/gpu/drm/nouveau/nvkm/engine
parent47b2505efb2d951f16c3a229d93450b463d925e5 (diff)
drm/nouveau/client: tidy ctor/dtor interfaces
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/device/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
index af8f9ccdc8f6..e08418436e0c 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
@@ -308,7 +308,7 @@ nvkm_devobj_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
oclass = &nvkm_devobj_oclass_super;
/* find the device subdev that matches what the client requested */
- device = nv_device(client->device);
+ device = client->device;
if (args->v0.device != ~0) {
device = nvkm_device_find(args->v0.device);
if (!device)