summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/engine/fifo/nv50.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 14:54:19 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:37:40 +1000
commit8e73dd1a57708df5ee6f22e635b56ffeb566fd54 (patch)
tree89a09558a589def9c93be6b9dd0caa6df1ca42af /drm/nouveau/nvkm/engine/fifo/nv50.h
parent6658b6d6e4f8287adb0b2e5434e488eb55b38420 (diff)
downloadnouveau-8e73dd1a57708df5ee6f22e635b56ffeb566fd54.tar.gz
fifo: convert user classes to new-style nvkm_object
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/nvkm/engine/fifo/nv50.h')
-rw-r--r--drm/nouveau/nvkm/engine/fifo/nv50.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/nouveau/nvkm/engine/fifo/nv50.h b/drm/nouveau/nvkm/engine/fifo/nv50.h
index 306593fc5..a7d5dba12 100644
--- a/drm/nouveau/nvkm/engine/fifo/nv50.h
+++ b/drm/nouveau/nvkm/engine/fifo/nv50.h
@@ -1,5 +1,6 @@
#ifndef __NV50_FIFO_H__
#define __NV50_FIFO_H__
+#define nv50_fifo(p) container_of((p), struct nv50_fifo, base)
#include "priv.h"
struct nv50_fifo {