]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drm: radeon constify radeon microcode
authorDave Airlie <airlied@linux.ie>
Sat, 24 Jun 2006 07:37:48 +0000 (17:37 +1000)
committerDave Airlie <airlied@linux.ie>
Sat, 24 Jun 2006 07:37:48 +0000 (17:37 +1000)
From: Tilman (DRM CVS)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/radeon_cp.c

index 7f949c9c9691da7638ac3241af01750b5c79614b..5ad43ba7b5aa16fa526a8428d507a212073688ae 100644 (file)
@@ -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},