drm/nouveau/xtensa: cosmetic changes
authorBen Skeggs <bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:07 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:10 +0000 (12:40 +1000)
This is purely preparation for upcoming commits, there should be no
code changes here.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/engine/xtensa.h
drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c

index 7a216cca2865568f6e61f2f5fb0968d7c6e590b6..bfe49b6f42a4fb4ffded80a450cdb06cd165661e 100644 (file)
@@ -4,7 +4,7 @@
 struct nvkm_gpuobj;
 
 struct nvkm_xtensa {
-       struct nvkm_engine base;
+       struct nvkm_engine engine;
 
        u32 addr;
        struct nvkm_gpuobj *gpu_fw;
index 3995d2cf06681209471d67b8c48b92e217b9afdb..7cc33836aadde9e15a138eb9cdc15ed60eb0445d 100644 (file)
@@ -100,7 +100,7 @@ _nvkm_xtensa_init(struct nvkm_object *object)
        int i, ret;
        u32 tmp;
 
-       ret = nvkm_engine_init(&xtensa->base);
+       ret = nvkm_engine_init(&xtensa->engine);
        if (ret)
                return ret;
 
@@ -167,5 +167,5 @@ _nvkm_xtensa_fini(struct nvkm_object *object, bool suspend)
        if (!suspend)
                nvkm_gpuobj_ref(NULL, &xtensa->gpu_fw);
 
-       return nvkm_engine_fini(&xtensa->base, suspend);
+       return nvkm_engine_fini(&xtensa->engine, suspend);
 }