diff options
Diffstat (limited to 'drivers/video/aty/radeon_pm.c')
-rw-r--r-- | drivers/video/aty/radeon_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/radeon_pm.c b/drivers/video/aty/radeon_pm.c index 92bda5848516..f7091ece580d 100644 --- a/drivers/video/aty/radeon_pm.c +++ b/drivers/video/aty/radeon_pm.c | |||
@@ -2805,7 +2805,7 @@ static void radeonfb_early_resume(void *data) | |||
2805 | void radeonfb_pm_init(struct radeonfb_info *rinfo, int dynclk, int ignore_devlist, int force_sleep) | 2805 | void radeonfb_pm_init(struct radeonfb_info *rinfo, int dynclk, int ignore_devlist, int force_sleep) |
2806 | { | 2806 | { |
2807 | /* Find PM registers in config space if any*/ | 2807 | /* Find PM registers in config space if any*/ |
2808 | rinfo->pm_reg = pci_find_capability(rinfo->pdev, PCI_CAP_ID_PM); | 2808 | rinfo->pm_reg = rinfo->pdev->pm_cap; |
2809 | 2809 | ||
2810 | /* Enable/Disable dynamic clocks: TODO add sysfs access */ | 2810 | /* Enable/Disable dynamic clocks: TODO add sysfs access */ |
2811 | if (rinfo->family == CHIP_FAMILY_RS480) | 2811 | if (rinfo->family == CHIP_FAMILY_RS480) |