aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/radeon_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/aty/radeon_pm.c')
-rw-r--r--drivers/video/aty/radeon_pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/aty/radeon_pm.c b/drivers/video/aty/radeon_pm.c
index c7091761cef4..b9b9396d3bde 100644
--- a/drivers/video/aty/radeon_pm.c
+++ b/drivers/video/aty/radeon_pm.c
@@ -1167,7 +1167,7 @@ static void radeon_pm_full_reset_sdram(struct radeonfb_info *rinfo)
1167 0x21320032, 0xa1320032, 0x21320032, 0xffffffff, 1167 0x21320032, 0xa1320032, 0x21320032, 0xffffffff,
1168 0x31320032 }; 1168 0x31320032 };
1169 1169
1170 u32 *mrtable = default_mrtable; 1170 const u32 *mrtable = default_mrtable;
1171 int i, mrtable_size = ARRAY_SIZE(default_mrtable); 1171 int i, mrtable_size = ARRAY_SIZE(default_mrtable);
1172 1172
1173 mdelay(30); 1173 mdelay(30);
@@ -1186,7 +1186,7 @@ static void radeon_pm_full_reset_sdram(struct radeonfb_info *rinfo)
1186 if (rinfo->of_node != NULL) { 1186 if (rinfo->of_node != NULL) {
1187 int size; 1187 int size;
1188 1188
1189 mrtable = (u32 *)get_property(rinfo->of_node, "ATY,MRT", &size); 1189 mrtable = get_property(rinfo->of_node, "ATY,MRT", &size);
1190 if (mrtable) 1190 if (mrtable)
1191 mrtable_size = size >> 2; 1191 mrtable_size = size >> 2;
1192 else 1192 else