lkml.org 
[lkml]   [2002]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] orinoco_pci.c build fix
From
Date
Hi,

While I've tried to get drivers/net/wireless/orinoco_pci.c compiled in,
I happened to get an error:

>drivers/net/wireless/wireless_net.o(.data+0x534): undefined reference to `local symbols in discarded section .text.exit'

Is there a missing __devexit_p? Here is the patch to 2.4.19-rc1.

--- drivers/net/wireless/orinoco_pci.c~ Wed Jul 17 02:37:33 2002
+++ drivers/net/wireless/orinoco_pci.c Wed Jul 17 02:38:22 2002
@@ -364,9 +364,11 @@
name:"orinoco_pci",
id_table:orinoco_pci_pci_id_table,
probe:orinoco_pci_init_one,
- remove:orinoco_pci_remove_one,
+ remove:__devexit_p(orinoco_pci_remove_one),
+#ifdef CONFIG_PM
suspend:0,
resume:0
+#endif /* CONFIG_PM */
};

static int __init orinoco_pci_init(void)
Regards,
--
Daiki Ueno
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.118 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site