Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4dd4ec2 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Ben Skeggs
Browse files

drm/nv40/graph: fix typo in type names



nv04_graph_priv / nv04_graph_chan are not defined in this context...

Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 479dd567
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -156,8 +156,8 @@ nv40_graph_context_ctor(struct nouveau_object *parent,
static int
static int
nv40_graph_context_fini(struct nouveau_object *object, bool suspend)
nv40_graph_context_fini(struct nouveau_object *object, bool suspend)
{
{
	struct nv04_graph_priv *priv = (void *)object->engine;
	struct nv40_graph_priv *priv = (void *)object->engine;
	struct nv04_graph_chan *chan = (void *)object;
	struct nv40_graph_chan *chan = (void *)object;
	u32 inst = 0x01000000 | nv_gpuobj(chan)->addr >> 4;
	u32 inst = 0x01000000 | nv_gpuobj(chan)->addr >> 4;
	int ret = 0;
	int ret = 0;