Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c535952 authored by Mitch Williams's avatar Mitch Williams Committed by John W. Linville
Browse files

[PATCH] bonding: make bond_init not __init



The sysfs interface can create bonds at runtime, and __init code goes away
after module init.

Signed-off-by: default avatarMitch Williams <mitch.a.williams@intel.com>
Acked-by: default avatarJay Vosburgh <fubar@us.ibm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent dfe60397
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4508,7 +4508,7 @@ static struct ethtool_ops bond_ethtool_ops = {
 * Does not allocate but creates a /proc entry.
 * Allowed to fail.
 */
static int __init bond_init(struct net_device *bond_dev, struct bond_params *params)
static int bond_init(struct net_device *bond_dev, struct bond_params *params)
{
	struct bonding *bond = bond_dev->priv;