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

We use -1 to mean "not read from hw yet"

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2015-01-31 17:13:40 +10:00
parent 5dfe7a0179
commit 30489c230a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ struct nvkm_pll_vals;
struct nv04_devinit_priv {
struct nvkm_devinit base;
u8 owner;
int owner;
};
int nv04_devinit_ctor(struct nvkm_object *, struct nvkm_object *,