diff options
author | Dave Airlie <airlied@redhat.com> | 2009-06-29 04:29:12 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-07-15 03:13:03 -0400 |
commit | 4c9bc75cbc6f2f447a38a123aa6e0605fab3cb7a (patch) | |
tree | 8bd7f7ef5ec852a39ff0295a95a091035fdb89a9 /drivers | |
parent | ed10f95d60d41033d356fdcf88c240d7065bd5b4 (diff) |
drm/radeon/kms: mmio base/size should be resource_size_t.
Unsigned long is incorrect for 64-bit resources on 32-bit hw.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index d61f2fc61df5..e7662ba9abfb 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -594,8 +594,8 @@ struct radeon_device { | |||
594 | struct radeon_object *fbdev_robj; | 594 | struct radeon_object *fbdev_robj; |
595 | struct radeon_framebuffer *fbdev_rfb; | 595 | struct radeon_framebuffer *fbdev_rfb; |
596 | /* Register mmio */ | 596 | /* Register mmio */ |
597 | unsigned long rmmio_base; | 597 | resource_size_t rmmio_base; |
598 | unsigned long rmmio_size; | 598 | resource_size_t rmmio_size; |
599 | void *rmmio; | 599 | void *rmmio; |
600 | radeon_rreg_t mm_rreg; | 600 | radeon_rreg_t mm_rreg; |
601 | radeon_wreg_t mm_wreg; | 601 | radeon_wreg_t mm_wreg; |