aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-05-18 20:35:02 -0400
committerDave Airlie <airlied@redhat.com>2010-05-18 20:35:02 -0400
commit669899878cfe0cd0c1fe60104f3d39b95a80e1d8 (patch)
tree5995a6e227145f45760ef37136b8b75933a0fdd3 /drivers/gpu
parent8e36ed00842668a39a6ed1b0a00b8ac92b7c4cd5 (diff)
drm/radeon: fix hdmi offset bug reported by smatch.
Reported-by: Dan Carpenter Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/r600_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c
index 40b1aca6d1f4..26b4bc9d89a5 100644
--- a/drivers/gpu/drm/radeon/r600_hdmi.c
+++ b/drivers/gpu/drm/radeon/r600_hdmi.c
@@ -539,7 +539,7 @@ void r600_hdmi_disable(struct drm_encoder *encoder)
539 struct drm_device *dev = encoder->dev; 539 struct drm_device *dev = encoder->dev;
540 struct radeon_device *rdev = dev->dev_private; 540 struct radeon_device *rdev = dev->dev_private;
541 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); 541 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder);
542 uint8_t offset; 542 uint32_t offset;
543 543
544 if (ASIC_IS_DCE4(rdev)) 544 if (ASIC_IS_DCE4(rdev))
545 return; 545 return;