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