summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-08-19 16:03:00 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-10-03 13:13:06 +1000
commitc97f8c922ea78195aa7d833d639d2963cc11af8e (patch)
tree51948f3b5374ed52746761720e6641b165ab2190 /drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
parent1971f04e16172db79b8b0eed75fb2cb82adfbb83 (diff)
drm/nouveau/fifo: use defines instead of hardcoded class ids
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c b/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
index cc49284be181..ea76e3e8c9c2 100644
--- a/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
+++ b/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
@@ -247,7 +247,7 @@ nv04_fifo_ofuncs = {
static struct nouveau_oclass
nv04_fifo_sclass[] = {
- { 0x006b, &nv04_fifo_ofuncs },
+ { NV03_CHANNEL_DMA_CLASS, &nv04_fifo_ofuncs },
{}
};