[2.5.10] BTTV .text.exit link fix with newer binutils

From: Sebastian Droege (sebastian.droege@gmx.de)
Date: Sun Apr 28 2002 - 09:59:38 EST


Hi,
here's a simple patch to allow the bttv driver to be build with newer binutils...

Bye

--- linux-2.5.10/drivers/media/video/bttv-driver.c~ Sun Apr 28 16:57:00 2002
+++ linux-2.5.10/drivers/media/video/bttv-driver.c Sun Apr 28 16:57:15 2002
@@ -3394,7 +3394,7 @@
         name: "bttv",
         id_table: bttv_pci_tbl,
         probe: bttv_probe,
- remove: bttv_remove,
+ remove: __devexit_p(bttv_remove),
 };
 
 static int bttv_init_module(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/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:15 EST