drm/nouveau/pbus/hwsq: Make code size u16
authorRoy Spliet <rspliet@eclipso.eu>
Thu, 12 Mar 2015 19:43:23 +0000 (20:43 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 Apr 2015 07:00:49 +0000 (17:00 +1000)
So we can actually use the full 512 byte code space

Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c

index b8853bf..7622b41 100644 (file)
@@ -29,7 +29,7 @@ struct nvkm_hwsq {
        u32 data;
        struct {
                u8 data[512];
-               u8 size;
+               u16 size;
        } c;
 };