[PATCH] intel_agp: dangling devexit reference

From: Randy.Dunlap
Date: Thu Oct 14 2004 - 14:48:52 EST



Fix error found by 'scripts/reference_discarded.pl':
Error: ./drivers/char/agp/intel-agp.o .data refers to 00000914 R_386_32 .exit.text

--
~Randy

Fix error found by 'scripts/reference_discarded.pl':
Error: ./drivers/char/agp/intel-agp.o .data refers to 00000914 R_386_32 .exit.text

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

diffstat:=
drivers/char/agp/intel-agp.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./drivers/char/agp/intel-agp.c~intel_agp_devexit ./drivers/char/agp/intel-agp.c
--- ./drivers/char/agp/intel-agp.c~intel_agp_devexit 2004-10-11 21:09:57.000000000 -0700
+++ ./drivers/char/agp/intel-agp.c 2004-10-12 22:14:55.289864744 -0700
@@ -1778,7 +1778,7 @@ static struct pci_driver agp_intel_pci_d
.name = "agpgart-intel",
.id_table = agp_intel_pci_table,
.probe = agp_intel_probe,
- .remove = agp_intel_remove,
+ .remove = __devexit_p(agp_intel_remove),
.resume = agp_intel_resume,
};