summaryrefslogtreecommitdiff
path: root/nvif
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-12 23:16:04 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-15 07:56:34 +1000
commit87ac0d29e2db08b9478b9101e2e16a6b0267344a (patch)
tree64138416b529f0deb766725d26dd93ebb601313c /nvif
parenta886c4ec1b0781d76cda2ee113ab140bd1cc6609 (diff)
downloadnouveau-87ac0d29e2db08b9478b9101e2e16a6b0267344a.tar.gz
nvif: fix dac load detect method definition
A thinko made me turn this into a u16 when cleaning up. Spotted by coverity. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvif')
-rw-r--r--nvif/class.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nvif/class.h b/nvif/class.h
index cc81e0e5f..573491f84 100644
--- a/nvif/class.h
+++ b/nvif/class.h
@@ -428,8 +428,8 @@ struct nv50_disp_dac_pwr_v0 {
struct nv50_disp_dac_load_v0 {
__u8 version;
__u8 load;
- __u16 data;
- __u8 pad04[4];
+ __u8 pad02[2];
+ __u32 data;
};
struct nv50_disp_sor_pwr_v0 {