Commit 4e50a8e3 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 8453d43f
...@@ -573,7 +573,7 @@ static int __devinit sis900_probe(struct pci_dev *pci_dev, ...@@ -573,7 +573,7 @@ static int __devinit sis900_probe(struct pci_dev *pci_dev,
* return error if it failed to found. * 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; struct sis900_private * sis_priv = net_dev->priv;
const char *dev_name = pci_name(sis_priv->pci_dev); const char *dev_name = pci_name(sis_priv->pci_dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment