]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/nouveau/devinit/nv04: change owner to int
authorBen Skeggs <bskeggs@redhat.com>
Sat, 31 Jan 2015 07:13:40 +0000 (17:13 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 Apr 2015 06:59:21 +0000 (16:59 +1000)
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>
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.h

index 14a51a9ff7d0b590e1682bef9d01df77a93d835c..7c63abf11e226fbebd449d98af7d404681cac3bd 100644 (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 *,