DORMANTno replies

[PATCH] tulip/de2104x: don't mix __init & __devinit sections

From: Randy.Dunlap <hidden>
Date: 2005-03-02 18:09:17

(take 2, based on Jeff's comment)

tulip/de2104x: fix section usage, don't mix __init & __devinit:

Error: ./drivers/net/tulip/de2104x.o .text refers to 000000000000176d R_X86_64_PC32     .init.text+0xfffffffffffffffc
Error: ./drivers/net/tulip/de2104x.o .text refers to 0000000000001798 R_X86_64_PC32     .init.text+0xfffffffffffffffc

Signed-off-by: Randy Dunlap <redacted>

diffstat:=
 drivers/net/tulip/de2104x.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./drivers/net/tulip/de2104x.c~de2104x_sections ./drivers/net/tulip/de2104x.c
--- ./drivers/net/tulip/de2104x.c~de2104x_sections	2005-02-27 12:54:05.830037144 -0800
+++ ./drivers/net/tulip/de2104x.c	2005-03-02 09:49:13.533933000 -0800
@@ -1927,7 +1927,7 @@ bad_srom:
 	goto fill_defaults;
 }
 
-static int __devinit de_init_one (struct pci_dev *pdev,
+static int __init de_init_one (struct pci_dev *pdev,
 				  const struct pci_device_id *ent)
 {
 	struct net_device *dev;
---
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help