netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] rrunner.c:rr_init() must be __devinit
@ 2007-07-10 12:44 Adrian Bunk
  2007-07-10 16:26 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-07-10 12:44 UTC (permalink / raw)
  To: jgarzik; +Cc: netdev, linux-kernel

This patch fixes the following section mismatch:

<--  snip  -->

...
  MODPOST vmlinux
WARNING: drivers/built-in.o(.text+0x26e3f2): Section mismatch: reference to .init.text:rr_init (between 'rr_init_one' and 'rr_remove_one')
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.22-rc6-mm1/drivers/net/rrunner.c.old	2007-07-10 04:34:33.000000000 +0200
+++ linux-2.6.22-rc6-mm1/drivers/net/rrunner.c	2007-07-10 04:34:42.000000000 +0200
@@ -516,7 +516,7 @@
 }
 
 
-static int __init rr_init(struct net_device *dev)
+static int __devinit rr_init(struct net_device *dev)
 {
 	struct rr_private *rrpriv;
 	struct rr_regs __iomem *regs;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] rrunner.c:rr_init() must be __devinit
  2007-07-10 12:44 [2.6 patch] rrunner.c:rr_init() must be __devinit Adrian Bunk
@ 2007-07-10 16:26 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-07-10 16:26 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: netdev, linux-kernel

Adrian Bunk wrote:
> This patch fixes the following section mismatch:
> 
> <--  snip  -->
> 
> ...
>   MODPOST vmlinux
> WARNING: drivers/built-in.o(.text+0x26e3f2): Section mismatch: reference to .init.text:rr_init (between 'rr_init_one' and 'rr_remove_one')
> ...
> 
> <--  snip  -->
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-10 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-10 12:44 [2.6 patch] rrunner.c:rr_init() must be __devinit Adrian Bunk
2007-07-10 16:26 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).