aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/rrunner.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-10 08:44:47 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-10 12:24:42 -0400
commit4f092432bd443416b649519c3d5405aa55ad2d15 (patch)
treeea0d2324b537e931274b60b686a5b5ef49b17410 /drivers/net/rrunner.c
parent9b5587cdd9f2a8dd4a010a93a6380051d43a3c16 (diff)
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 <bunk@stusta.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/rrunner.c')
-rw-r--r--drivers/net/rrunner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/rrunner.c b/drivers/net/rrunner.c
index 25c73d47daa..5c2e41fac6d 100644
--- a/drivers/net/rrunner.c
+++ b/drivers/net/rrunner.c
@@ -516,7 +516,7 @@ static unsigned int write_eeprom(struct rr_private *rrpriv,
516} 516}
517 517
518 518
519static int __init rr_init(struct net_device *dev) 519static int __devinit rr_init(struct net_device *dev)
520{ 520{
521 struct rr_private *rrpriv; 521 struct rr_private *rrpriv;
522 struct rr_regs __iomem *regs; 522 struct rr_regs __iomem *regs;