aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/radeon_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/aty/radeon_base.c')
-rw-r--r--drivers/video/aty/radeon_base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
index a4b3fd185de7..9d629fe1709d 100644
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -422,7 +422,7 @@ static int __devinit radeon_read_xtal_OF (struct radeonfb_info *rinfo)
422 422
423 if (dp == NULL) 423 if (dp == NULL)
424 return -ENODEV; 424 return -ENODEV;
425 val = get_property(dp, "ATY,RefCLK", NULL); 425 val = of_get_property(dp, "ATY,RefCLK", NULL);
426 if (!val || !*val) { 426 if (!val || !*val) {
427 printk(KERN_WARNING "radeonfb: No ATY,RefCLK property !\n"); 427 printk(KERN_WARNING "radeonfb: No ATY,RefCLK property !\n");
428 return -EINVAL; 428 return -EINVAL;
@@ -430,11 +430,11 @@ static int __devinit radeon_read_xtal_OF (struct radeonfb_info *rinfo)
430 430
431 rinfo->pll.ref_clk = (*val) / 10; 431 rinfo->pll.ref_clk = (*val) / 10;
432 432
433 val = get_property(dp, "ATY,SCLK", NULL); 433 val = of_get_property(dp, "ATY,SCLK", NULL);
434 if (val && *val) 434 if (val && *val)
435 rinfo->pll.sclk = (*val) / 10; 435 rinfo->pll.sclk = (*val) / 10;
436 436
437 val = get_property(dp, "ATY,MCLK", NULL); 437 val = of_get_property(dp, "ATY,MCLK", NULL);
438 if (val && *val) 438 if (val && *val)
439 rinfo->pll.mclk = (*val) / 10; 439 rinfo->pll.mclk = (*val) / 10;
440 440