[PATCH] radeon : fix resuming printk, kernel 2.6.11-7

From: Victor STINNER
Date: Sat Apr 23 2005 - 13:37:27 EST


Hi,

My patch remove a warning around Radeaon ATY driver.

I hope that this warning is not yet removed. If yes, where can I see the
lastest version of a file from Linux Kernel ? I used
http://ehlo.org/~kay/gitweb.pl/linux-2.6/

Bye, Haypo

--- drivers/video/aty/radeon_pm.c.old 2005-04-23 19:47:30.000000000 +0200
+++ drivers/video/aty/radeon_pm.c 2005-04-23 19:47:39.000000000 +0200
@@ -2606,7 +2606,7 @@
acquire_console_sem();

printk(KERN_DEBUG "radeonfb (%s): resuming from state: %d...\n",
- pci_name(pdev), pdev->dev.power.power_state);
+ pci_name(pdev), pdev->dev.power.power_state.event);


if (pci_enable_device(pdev)) {