summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/engine/ce/gm204.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/nvkm/engine/ce/gm204.c')
-rw-r--r--drm/nouveau/nvkm/engine/ce/gm204.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drm/nouveau/nvkm/engine/ce/gm204.c b/drm/nouveau/nvkm/engine/ce/gm204.c
index e89c44cb2..8eaa72a59 100644
--- a/drm/nouveau/nvkm/engine/ce/gm204.c
+++ b/drm/nouveau/nvkm/engine/ce/gm204.c
@@ -38,15 +38,15 @@ int
gm204_ce_new(struct nvkm_device *device, int index,
struct nvkm_engine **pengine)
{
- if (index == NVDEV_ENGINE_CE0) {
+ if (index == NVKM_ENGINE_CE0) {
return nvkm_engine_new_(&gm204_ce, device, index,
0x00000040, true, pengine);
} else
- if (index == NVDEV_ENGINE_CE1) {
+ if (index == NVKM_ENGINE_CE1) {
return nvkm_engine_new_(&gm204_ce, device, index,
0x00000080, true, pengine);
} else
- if (index == NVDEV_ENGINE_CE2) {
+ if (index == NVKM_ENGINE_CE2) {
return nvkm_engine_new_(&gm204_ce, device, index,
0x00200000, true, pengine);
}