drm/nouveau/xtensa: cosmetic changes
This is purely preparation for upcoming commits, there should be no code changes here. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
b26ada6fed
commit
f0961867b8
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
struct nvkm_gpuobj;
|
struct nvkm_gpuobj;
|
||||||
|
|
||||||
struct nvkm_xtensa {
|
struct nvkm_xtensa {
|
||||||
struct nvkm_engine base;
|
struct nvkm_engine engine;
|
||||||
|
|
||||||
u32 addr;
|
u32 addr;
|
||||||
struct nvkm_gpuobj *gpu_fw;
|
struct nvkm_gpuobj *gpu_fw;
|
||||||
|
|
|
@ -100,7 +100,7 @@ _nvkm_xtensa_init(struct nvkm_object *object)
|
||||||
int i, ret;
|
int i, ret;
|
||||||
u32 tmp;
|
u32 tmp;
|
||||||
|
|
||||||
ret = nvkm_engine_init(&xtensa->base);
|
ret = nvkm_engine_init(&xtensa->engine);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
@ -167,5 +167,5 @@ _nvkm_xtensa_fini(struct nvkm_object *object, bool suspend)
|
||||||
if (!suspend)
|
if (!suspend)
|
||||||
nvkm_gpuobj_ref(NULL, &xtensa->gpu_fw);
|
nvkm_gpuobj_ref(NULL, &xtensa->gpu_fw);
|
||||||
|
|
||||||
return nvkm_engine_fini(&xtensa->base, suspend);
|
return nvkm_engine_fini(&xtensa->engine, suspend);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue