The patch titled
pm_message_t fix for radeon_pm.c
has been added to the -mm tree. Its filename is
pm_message_t-fix-for-radeon_pmc.patch
Patches currently in -mm which might be from brix@gentoo.org are
pm_message_t-fix-for-radeon_pmc.patch
From: Henrik Brix Andersen <redacted>
This patch adds a missing .event to pm_message_t handling in
drivers/video/aty/radeon_pm.c
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: <redacted>
Signed-off-by: Andrew Morton <redacted>
---
drivers/video/aty/radeon_pm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/video/aty/radeon_pm.c~pm_message_t-fix-for-radeon_pmc drivers/video/aty/radeon_pm.c--- 25/drivers/video/aty/radeon_pm.c~pm_message_t-fix-for-radeon_pmc Mon May 23 16:18:46 2005
+++ 25-akpm/drivers/video/aty/radeon_pm.c Mon May 23 16:18:46 2005
@@ -2526,11 +2526,11 @@ int radeonfb_pci_suspend(struct pci_dev
struct radeonfb_info *rinfo = info->par;
int i;
- if (state == pdev->dev.power.power_state)
+ if (state.event == pdev->dev.power.power_state.event)
return 0;
printk(KERN_DEBUG "radeonfb (%s): suspending to state: %d...\n",
- pci_name(pdev), state);
+ pci_name(pdev), state.event);
/* For suspend-to-disk, we cheat here. We don't suspend anything and
* let fbcon continue drawing until we are all set. That shouldn't_
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click