]> git.hungrycats.org Git - linux/commitdiff
[PATCH] intel_agp: dangling devexit reference
authorRandy Dunlap <rddunlap@osdl.org>
Sun, 17 Oct 2004 02:20:18 +0000 (19:20 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 17 Oct 2004 02:20:18 +0000 (19:20 -0700)
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@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/agp/intel-agp.c

index df0b4b72a4ab219a8dacc2cf6f767cf3119c70df..7bec505ad95eeaa37ea60f38a3c1a45554a3f354 100644 (file)
@@ -1778,7 +1778,7 @@ static struct pci_driver agp_intel_pci_driver = {
        .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,
 };