diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-08-20 07:54:15 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 05:40:30 +0300 |
commit | 76ecea5b4b9383edde2bfe49e59e76fec4e21aa4 (patch) | |
tree | ffe2996b22f3b7f0eec26a09e26defa1e3bf5907 /drivers/gpu/drm/nouveau/nouveau_drm.c | |
parent | 47b2505efb2d951f16c3a229d93450b463d925e5 (diff) | |
download | linux-76ecea5b4b9383edde2bfe49e59e76fec4e21aa4.tar.xz |
drm/nouveau/client: tidy ctor/dtor interfaces
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 9e420f6c1a74..6180c3d30287 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -530,14 +530,14 @@ nouveau_drm_device_remove(struct drm_device *dev) { struct nouveau_drm *drm = nouveau_drm(dev); struct nvkm_client *client; - struct nvkm_object *device; + struct nvkm_device *device; dev->irq_enabled = false; client = nvxx_client(&drm->client.base); device = client->device; drm_put_dev(dev); - nvkm_object_ref(NULL, &device); + nvkm_object_ref(NULL, (struct nvkm_object **)&device); } static void |