LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] atm/idt77105.c: fix section mismatch
@ 2008-01-19 13:18 Adrian Bunk
  2008-01-19 13:28 ` Sam Ravnborg
  2008-01-21  0:37 ` Roel Kluin
  0 siblings, 2 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-01-19 13:18 UTC (permalink / raw)
  To: chas, jgarzik; +Cc: netdev, linux-kernel

EXPORT_SYMBOL'ed code mustn't be __*init.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
--- linux-2.6/drivers/atm/idt77105.c.old	2008-01-19 11:19:53.000000000 +0200
+++ linux-2.6/drivers/atm/idt77105.c	2008-01-19 11:20:10.000000000 +0200
@@ -354,13 +354,13 @@ static const struct atmphy_ops idt77105_
 	.ioctl =	idt77105_ioctl,
 	.interrupt =	idt77105_int,
 	.stop =		idt77105_stop,
 };
 
 
-int __devinit idt77105_init(struct atm_dev *dev)
+int idt77105_init(struct atm_dev *dev)
 {
 	dev->phy = &idt77105_ops;
 	return 0;
 }
 
 EXPORT_SYMBOL(idt77105_init);


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

end of thread, other threads:[~2008-01-21  1:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-19 13:18 [2.6 patch] atm/idt77105.c: fix section mismatch Adrian Bunk
2008-01-19 13:28 ` Sam Ravnborg
2008-01-21  1:22   ` David Miller
2008-01-21  0:37 ` Roel Kluin

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).