Skip to contentSkip to conversation

sis900_mii_probe() must be __devinit

PATCH Applied Adrian Bunk 2 participants 2 messages Jul 10, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sis900_mii_probe() must be __devinit

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

---

drivers/net/sis900.c renamed from drivers/net/sis900.c.old +1 -1
@@ -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);
Applied
#1 lore raw
Quoted 4 lines · Adrian Bunk

This patch fixes the following section mismatch:

<-- snip -->

Quoted 8 lines

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

applied