diff options
author | Joe Perches <joe@perches.com> | 2015-05-20 03:37:52 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-05-26 16:31:25 +0200 |
commit | a10e04f4c54f02d397f429765acb09d81d344587 (patch) | |
tree | 9c00cbcd065fc5c8df4a556ee4045145e0471178 /drivers/gpu/drm/radeon/radeon.h | |
parent | drm/radeon/tn/si: enable/disable vce cg when encoding v2 (diff) | |
download | linux-a10e04f4c54f02d397f429765acb09d81d344587.tar.xz linux-a10e04f4c54f02d397f429765acb09d81d344587.zip |
drm/radeon: Use DECLARE_BITMAP
Use the generic mechanism to declare a bitmap instead of unsigned long.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index ccebf6279c05..b0b73f2edfc9 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -719,7 +719,7 @@ struct radeon_doorbell { resource_size_t size; u32 __iomem *ptr; u32 num_doorbells; /* Number of doorbells actually reserved for radeon. */ - unsigned long used[DIV_ROUND_UP(RADEON_MAX_DOORBELLS, BITS_PER_LONG)]; + DECLARE_BITMAP(used, RADEON_MAX_DOORBELLS); }; int radeon_doorbell_get(struct radeon_device *rdev, u32 *page); |