mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 01:10:28 +00:00
[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: Mitch Williams <mitch.a.williams@intel.com> Acked-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
dfe60397a6
commit
3c535952d8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user