[patch] fix .text.exit error in orinoco_plx.c

From: Adrian Bunk (bunk@fs.tum.de)
Date: Wed Jul 17 2002 - 12:51:04 EST


Hi Marcelo,

the following .text.exit error is still present in 2.4.19-rc2:

<-- snip -->

...
drivers/net/wireless/wireless_net.o(.data+0x554): undefined reference to
`local symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1

<-- snip -->

Please apply the following patch that fixes it in -rc3:

--- drivers/net/wireless/orinoco_plx.c.old Wed Jul 17 19:41:02 2002
+++ drivers/net/wireless/orinoco_plx.c Wed Jul 17 19:42:13 2002
@@ -385,7 +385,7 @@
         name:"orinoco_plx",
         id_table:orinoco_plx_pci_id_table,
         probe:orinoco_plx_init_one,
- remove:orinoco_plx_remove_one,
+ remove:__devexit_p(orinoco_plx_remove_one),
         suspend:0,
         resume:0
 };

TIA
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox

- 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 Jul 23 2002 - 22:00:23 EST