diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-10 08:44:35 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-10 12:24:42 -0400 |
commit | 4e50a8e3c564add2f621dadb752a44872e93c754 (patch) | |
tree | 13a8650c5a441ca20f0c5af342e56599e12ddc40 | |
parent | 8453d43f0ee08ac6c20f390797772a08f81f999a (diff) |
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 -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/net/sis900.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c index 2cb2e156c758..7c6e4808399a 100644 --- a/drivers/net/sis900.c +++ b/drivers/net/sis900.c | |||
@@ -573,7 +573,7 @@ static int __devinit sis900_probe(struct pci_dev *pci_dev, | |||
573 | * return error if it failed to found. | 573 | * return error if it failed to found. |
574 | */ | 574 | */ |
575 | 575 | ||
576 | static int __init sis900_mii_probe(struct net_device * net_dev) | 576 | static int __devinit sis900_mii_probe(struct net_device * net_dev) |
577 | { | 577 | { |
578 | struct sis900_private * sis_priv = net_dev->priv; | 578 | struct sis900_private * sis_priv = net_dev->priv; |
579 | const char *dev_name = pci_name(sis_priv->pci_dev); | 579 | const char *dev_name = pci_name(sis_priv->pci_dev); |