net: etherdevice: add address inherit helper
authorBjørn Mork <bjorn@mork.no>
Fri, 30 Aug 2013 16:08:44 +0000 (18:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 00:57:49 +0000 (20:57 -0400)
commit83a093b486ecfd25e7b04b82f6a388f24bd274b2
tree599cfa0d7929e8e152bb4d2f5a5d64c74b87db3b
parent5a17a390de7bdbcfff9b8f344273a886ca4cf8bf
net: etherdevice: add address inherit helper

Some etherdevices inherit their address from a parent or
master device. The addr_assign_type should be updated along
with the address in these cases.  Adding a helper function
to simplify this.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/etherdevice.h