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

This patch fixes the following section mismatch:

<--  snip  -->

...
  MODPOST vmlinux
WARNING: drivers/built-in.o(.text+0x298170): Section mismatch: reference to .init.text:sis900_mii_probe (between 'sis900_probe' and 'sis900_default_phy')
...

<--  snip  -->

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

---
--- linux-2.6.22-rc6-mm1/drivers/net/sis900.c.old	2007-07-10 04:02:23.000000000 +0200
+++ linux-2.6.22-rc6-mm1/drivers/net/sis900.c	2007-07-10 04:03:31.000000000 +0200
@@ -573,7 +573,7 @@
  *	return error if it failed to found.
  */
 
-static int __init sis900_mii_probe(struct net_device * net_dev)
+static int __devinit sis900_mii_probe(struct net_device * net_dev)
 {
 	struct sis900_private * sis_priv = net_dev->priv;
 	const char *dev_name = pci_name(sis_priv->pci_dev);


^ 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] sis900_mii_probe() must be __devinit Adrian Bunk
2007-07-10 16:25 ` 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).