summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/devinit/g98.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/nvkm/subdev/devinit/g98.c')
-rw-r--r--drm/nouveau/nvkm/subdev/devinit/g98.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drm/nouveau/nvkm/subdev/devinit/g98.c b/drm/nouveau/nvkm/subdev/devinit/g98.c
index d29bacee6..06a269c0a 100644
--- a/drm/nouveau/nvkm/subdev/devinit/g98.c
+++ b/drm/nouveau/nvkm/subdev/devinit/g98.c
@@ -29,9 +29,9 @@
static u64
g98_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)) {