bonding: set sysfs device_type to 'bond'
authorDoug Goldstein <cardoe@cardoe.com>
Mon, 18 Feb 2013 14:59:23 +0000 (14:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2013 05:51:09 +0000 (00:51 -0500)
commitb3f92b63c4c793142751d029ae0037fb8ab403a0
tree3884e23988f44d3e22ec406b4fc06cb8825840d4
parent0896341a44bf04bf6149d9307fe4686006f3eee1
bonding: set sysfs device_type to 'bond'

Sets the sysfs device_type to 'bond' for udev. This allows udev rules to
be created for bond devices. This is similar to how other network
devices set their device_type.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c