diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-12 09:16:04 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-14 17:58:39 -0400 |
commit | 8bd62a8327d84e622c61faeb969164bfa370d91e (patch) | |
tree | 707e470cf9e26fc2f880569c7c44a2b9ac6ca6e1 /drivers/gpu | |
parent | da7c74ea2b0e218ddd6c3d01ea55a12104e7c6fd (diff) |
drm/nouveau/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 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvif/class.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/class.h b/drivers/gpu/drm/nouveau/nvif/class.h index cc81e0e5fd30..573491f84792 100644 --- a/drivers/gpu/drm/nouveau/nvif/class.h +++ b/drivers/gpu/drm/nouveau/nvif/class.h | |||
@@ -428,8 +428,8 @@ struct nv50_disp_dac_pwr_v0 { | |||
428 | struct nv50_disp_dac_load_v0 { | 428 | struct nv50_disp_dac_load_v0 { |
429 | __u8 version; | 429 | __u8 version; |
430 | __u8 load; | 430 | __u8 load; |
431 | __u16 data; | 431 | __u8 pad02[2]; |
432 | __u8 pad04[4]; | 432 | __u32 data; |
433 | }; | 433 | }; |
434 | 434 | ||
435 | struct nv50_disp_sor_pwr_v0 { | 435 | struct nv50_disp_sor_pwr_v0 { |