rrunner.c:rr_init() must be __devinit
Subsystems (2)
PATCH 1/1 rrunner.c:rr_init() must be __devinit
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 <[email protected]>
---
drivers/net/rrunner.c renamed from drivers/net/rrunner.c.old +1 -1
@@ -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;
Jeff Garzik
AppliedQuoted 4 lines · Adrian Bunk
This patch fixes the following section mismatch:
<-- snip -->
Quoted 8 lines
...
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 <[email protected]>
applied