diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-08-19 16:03:00 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-10-03 13:13:06 +1000 |
commit | c97f8c922ea78195aa7d833d639d2963cc11af8e (patch) | |
tree | 51948f3b5374ed52746761720e6641b165ab2190 /drivers/gpu/drm/nouveau/core/engine/fifo/nv84.c | |
parent | 1971f04e16172db79b8b0eed75fb2cb82adfbb83 (diff) | |
download | op-kernel-dev-c97f8c922ea78195aa7d833d639d2963cc11af8e.zip op-kernel-dev-c97f8c922ea78195aa7d833d639d2963cc11af8e.tar.gz |
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/nv84.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/fifo/nv84.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/fifo/nv84.c b/drivers/gpu/drm/nouveau/core/engine/fifo/nv84.c index 88ca9e8..55620fb 100644 --- a/drivers/gpu/drm/nouveau/core/engine/fifo/nv84.c +++ b/drivers/gpu/drm/nouveau/core/engine/fifo/nv84.c @@ -310,8 +310,8 @@ nv84_fifo_ofuncs_ind = { static struct nouveau_oclass nv84_fifo_sclass[] = { - { 0x826e, &nv84_fifo_ofuncs_dma }, - { 0x826f, &nv84_fifo_ofuncs_ind }, + { NV84_CHANNEL_DMA_CLASS, &nv84_fifo_ofuncs_dma }, + { NV84_CHANNEL_IND_CLASS, &nv84_fifo_ofuncs_ind }, {} }; |