bgmac: Bind net_device with backing device structure
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 7 Jun 2016 22:06:13 +0000 (15:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 06:37:23 +0000 (23:37 -0700)
commit2022e9d50798aa592887ccb5a7d045e537f3855f
treea074e9fccb0a3ec597bf081ccef8db76fea7d8a7
parent7d84e37e114215be0a0c80095891c8268a99352b
bgmac: Bind net_device with backing device structure

In preparation for allowing different helpers to be utilized against
network devices created by the bgmac driver, make sure that we bind the
net_device with core->dev.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c