netdev
[Top] [All Lists]

[PATCH] rrunner: fix section references

To: netdev@xxxxxxxxxxx, jgarzik <jgarzik@xxxxxxxxx>
Subject: [PATCH] rrunner: fix section references
From: "Randy.Dunlap" <rddunlap@xxxxxxxx>
Date: Sun, 27 Feb 2005 22:14:25 -0800
Cc: jes@xxxxxxxxxxxxxxxxxx, torvalds <torvalds@xxxxxxxx>
Organization: OSDL
Sender: netdev-bounce@xxxxxxxxxxx
rrunner: references __initdata in a __devinit function; data should
  be __devinitdata;

Error: ./drivers/net/rrunner.o .text refers to 00000000000002b2 R_X86_64_32S    
  .init.data

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

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

diff -Naurp ./drivers/net/rrunner.c~rrunner_sections ./drivers/net/rrunner.c
--- ./drivers/net/rrunner.c~rrunner_sections    2004-12-24 13:34:26.000000000 
-0800
+++ ./drivers/net/rrunner.c     2005-02-27 22:14:12.303076680 -0800
@@ -62,7 +62,7 @@ MODULE_AUTHOR("Jes Sorensen <jes@wildope
 MODULE_DESCRIPTION("Essential RoadRunner HIPPI driver");
 MODULE_LICENSE("GPL");
 
-static char version[] __initdata = "rrunner.c: v0.50 11/11/2002  Jes Sorensen 
(jes@xxxxxxxxxxxxxxxxxx)\n";
+static char version[] __devinitdata = "rrunner.c: v0.50 11/11/2002  Jes 
Sorensen (jes@xxxxxxxxxxxxxxxxxx)\n";
 
 /*
  * Implementation notes:


---

<Prev in Thread] Current Thread [Next in Thread>