Skip to contentSkip to conversation

net/sunbmac.c section fix

PATCH New Adrian Bunk 1 participant 1 message Jan 30, 2008

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

PATCH 1/1 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 -->

---
c4238b1ec3c23ec9dbe8b4da932cfd381ef0f376

drivers/net/sunbmac.c +1 -1
index fe3ac6f..0e4a88d 100644
@@ -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;