summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 07:54:07 +0300
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 05:40:10 +0300
commitd8c304b504bc2709eaec742be1b30d5e53e47449 (patch)
tree66a6b4764459c53032ec7db4d211bb7131453c91 /drivers/gpu/drm/nouveau
parentf0961867b817e3aca45dca7e1885a7ec99a260ed (diff)
downloadlinux-d8c304b504bc2709eaec742be1b30d5e53e47449.tar.xz
drm/nouveau/bsp: cosmetic changes
This is purely preparation for upcoming commits, there should be no code changes here. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/bsp/g84.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/bsp/g84.c b/drivers/gpu/drm/nouveau/nvkm/engine/bsp/g84.c
index a0b1fd80fa93..6b69d6671173 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/bsp/g84.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/bsp/g84.c
@@ -62,20 +62,20 @@ g84_bsp_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
struct nvkm_oclass *oclass, void *data, u32 size,
struct nvkm_object **pobject)
{
- struct nvkm_xtensa *priv;
+ struct nvkm_xtensa *bsp;
int ret;
ret = nvkm_xtensa_create(parent, engine, oclass, 0x103000, true,
- "PBSP", "bsp", &priv);
- *pobject = nv_object(priv);
+ "PBSP", "bsp", &bsp);
+ *pobject = nv_object(bsp);
if (ret)
return ret;
- nv_subdev(priv)->unit = 0x04008000;
- nv_engine(priv)->cclass = &g84_bsp_cclass;
- nv_engine(priv)->sclass = g84_bsp_sclass;
- priv->fifo_val = 0x1111;
- priv->unkd28 = 0x90044;
+ nv_subdev(bsp)->unit = 0x04008000;
+ nv_engine(bsp)->cclass = &g84_bsp_cclass;
+ nv_engine(bsp)->sclass = g84_bsp_sclass;
+ bsp->fifo_val = 0x1111;
+ bsp->unkd28 = 0x90044;
return 0;
}