diff options
author | Dave Airlie <airlied@linux.ie> | 2006-05-18 07:32:37 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-05-18 07:32:37 +0000 |
commit | b1a64b8136b3dafb843d9b677becfdb5f2ac1eb8 (patch) | |
tree | 7d9f8aece69afb5943009a464c99129b1bc0b120 /shared-core | |
parent | bdd381a7cea814d12d3207a67503cc1a5e353bed (diff) |
add consts to radeon microcode.
From: tilman
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/radeon_cp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c index 80d63745..ccb0023f 100644 --- a/shared-core/radeon_cp.c +++ b/shared-core/radeon_cp.c @@ -39,7 +39,7 @@ static int radeon_do_cleanup_cp(drm_device_t * dev); /* CP microcode (from ATI) */ -static u32 R200_cp_microcode[][2] = { +static const u32 R200_cp_microcode[][2] = { {0x21007000, 0000000000}, {0x20007000, 0000000000}, {0x000000ab, 0x00000004}, @@ -298,7 +298,7 @@ static u32 R200_cp_microcode[][2] = { {0000000000, 0000000000}, }; -static u32 radeon_cp_microcode[][2] = { +static const u32 radeon_cp_microcode[][2] = { {0x21007000, 0000000000}, {0x20007000, 0000000000}, {0x000000b4, 0x00000004}, @@ -557,7 +557,7 @@ static u32 radeon_cp_microcode[][2] = { {0000000000, 0000000000}, }; -static u32 R300_cp_microcode[][2] = { +static const u32 R300_cp_microcode[][2] = { { 0x4200e000, 0000000000 }, { 0x4000e000, 0000000000 }, { 0x000000af, 0x00000008 }, |