Patch is against 2.4.19-pre10.
Rob.
diff -aur linux-clean/drivers/video/tdfxfb.c linux-dirty/drivers/video/tdfxfb.c
--- linux-clean/drivers/video/tdfxfb.c  Mon Feb 25 14:38:07 2002
+++ linux-dirty/drivers/video/tdfxfb.c  Sat Jun  8 12:32:23 2002
@@ -464,7 +464,9 @@
  * PCI driver prototypes
  */
 static int tdfxfb_probe(struct pci_dev *pdev, const struct pci_device_id *id);
+#ifdef MODULE
 static void tdfxfb_remove(struct pci_dev *pdev);
+#endif
 static int currcon = 0;
@@ -2037,6 +2039,7 @@
        return 0;
 }
+#ifdef MODULE
 /**
  *     tdfxfb_remove - Device removal
  *
@@ -2061,6 +2064,7 @@
        iounmap(fb_info.regbase_virt);
        iounmap(fb_info.bufbase_virt);
 }
+#endif
 int __init tdfxfb_init(void)
 {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/