summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/devinit/g84.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/nvkm/subdev/devinit/g84.c')
-rw-r--r--drm/nouveau/nvkm/subdev/devinit/g84.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drm/nouveau/nvkm/subdev/devinit/g84.c b/drm/nouveau/nvkm/subdev/devinit/g84.c
index ca776ce75..69f28feda 100644
--- a/drm/nouveau/nvkm/subdev/devinit/g84.c
+++ b/drm/nouveau/nvkm/subdev/devinit/g84.c
@@ -29,9 +29,9 @@
static u64
g84_devinit_disable(struct nvkm_devinit *devinit)
{
- struct nv50_devinit_priv *priv = (void *)devinit;
- u32 r001540 = nv_rd32(priv, 0x001540);
- u32 r00154c = nv_rd32(priv, 0x00154c);
+ struct nv50_devinit *init = (void *)devinit;
+ u32 r001540 = nv_rd32(init, 0x001540);
+ u32 r00154c = nv_rd32(init, 0x00154c);
u64 disable = 0ULL;
if (!(r001540 & 0x40000000)) {