aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvif/client.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 14:54:18 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:40:39 +1000
commit24bd0930bedea1182aaadc52757897d2b9b3ca99 (patch)
tree80e8673ff62805d8f53f8f304436fbb54f505474 /drivers/gpu/drm/nouveau/include/nvif/client.h
parentdrm/nouveau/sw: remove dependence on namedb/engctx lookup (diff)
downloadlinux-dev-24bd0930bedea1182aaadc52757897d2b9b3ca99.tar.xz
linux-dev-24bd0930bedea1182aaadc52757897d2b9b3ca99.zip
drm/nouveau/client: convert to new-style nvkm_object
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvif/client.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/client.h b/drivers/gpu/drm/nouveau/include/nvif/client.h
index 4d5db8039576..4a7f6f7b836d 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/client.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/client.h
@@ -23,6 +23,6 @@ int nvif_client_resume(struct nvif_client *);
#include <core/client.h>
#define nvxx_client(a) ({ \
struct nvif_client *_client = (a); \
- nvkm_client(_client->object.priv); \
+ (struct nvkm_client *)_client->object.priv; \
})
#endif