diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 21:03:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-03 13:26:15 +0100 |
commit | 83084fa39282e9230d590cc91544acb6638c89fa (patch) | |
tree | 4109faf8f97b89a31e56ae285f7a01ed20c69f00 /drivers/net/sunbmac.c | |
parent | net/sunqe.c section fix (diff) | |
download | linux-83084fa39282e9230d590cc91544acb6638c89fa.tar.xz linux-83084fa39282e9230d590cc91544acb6638c89fa.zip |
net/sunbmac.c section fix
This patch fixes the following section mismatch:
<-- snip -->
...
WARNING: drivers/net/sunbmac.o(.devinit.text+0x24): Section mismatch in reference from the function bigmac_sbus_probe() to the function .init.text:bigmac_ether_init()
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/sunbmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sunbmac.c b/drivers/net/sunbmac.c index fe3ac6f9ae89..0e4a88d16327 100644 --- a/drivers/net/sunbmac.c +++ b/drivers/net/sunbmac.c @@ -1075,7 +1075,7 @@ static const struct ethtool_ops bigmac_ethtool_ops = { .get_link = bigmac_get_link, }; -static int __init bigmac_ether_init(struct sbus_dev *qec_sdev) +static int __devinit bigmac_ether_init(struct sbus_dev *qec_sdev) { struct net_device *dev; static int version_printed; |