]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] BTTV .text.exit link fix with newer binutils
authorSebastian Dröge <sebastian.droege@gmx.de>
Sun, 28 Apr 2002 12:16:15 +0000 (05:16 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 28 Apr 2002 12:16:15 +0000 (05:16 -0700)
Here's a simple patch to allow the bttv driver to be build with newer
binutils...

drivers/media/video/bttv-driver.c

index f35c94e3122ee9cb935f5d3926c4208420d3d6b3..c69b4b8abfd2c29ccafeddbcd1c67775beece255 100644 (file)
@@ -3394,7 +3394,7 @@ static struct pci_driver bttv_pci_driver = {
         name:     "bttv",
         id_table: bttv_pci_tbl,
         probe:    bttv_probe,
-        remove:   bttv_remove,
+        remove:   __devexit_p(bttv_remove),
 };
 
 static int bttv_init_module(void)