2002-04-28 15:01:09

by Sebastian Droege

[permalink] [raw]
Subject: [2.5.10] BTTV .text.exit link fix with newer binutils

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)


Attachments:
(No filename) (189.00 B)