Commit 30489c23 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/devinit/nv04: change owner to int

We use -1 to mean "not read from hw yet"
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 5dfe7a01
...@@ -5,7 +5,7 @@ struct nvkm_pll_vals; ...@@ -5,7 +5,7 @@ struct nvkm_pll_vals;
struct nv04_devinit_priv { struct nv04_devinit_priv {
struct nvkm_devinit base; struct nvkm_devinit base;
u8 owner; int owner;
}; };
int nv04_devinit_ctor(struct nvkm_object *, struct nvkm_object *, int nv04_devinit_ctor(struct nvkm_object *, struct nvkm_object *,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment