[PATCH] ati-agp : remove warning in agp_ati_suspend, kernel2.6.11-7

From: Victor STINNER
Date: Sat Apr 23 2005 - 13:17:02 EST


Hi,

My patch remove a warning around AGP ATI 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/char/agp/ati-agp.c.old 2005-04-23 19:36:23.000000000 +0200
+++ drivers/char/agp/ati-agp.c 2005-04-23 19:38:05.000000000 +0200
@@ -508,7 +508,7 @@

#ifdef CONFIG_PM

-static int agp_ati_suspend(struct pci_dev *pdev, u32 state)
+static int agp_ati_suspend(struct pci_dev *pdev, pm_message_t state)
{
pci_save_state (pdev);
pci_set_power_state (pdev, 3);