net: ethernet: bgmac: add dma_dev pointer
authorJon Mason <jon.mason@broadcom.com>
Thu, 7 Jul 2016 23:08:54 +0000 (19:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2016 22:10:40 +0000 (18:10 -0400)
commita0b68486f6f680c7c0352a47c60042d7d95ffd87
tree9c84f920d37864276ef2dd073c60be78b3f067d8
parentd00a8281bcc962027dfe409c2f3e3f0546be9200
net: ethernet: bgmac: add dma_dev pointer

The dma buffer allocation, etc references a dma_dev device pointer from
the bcma core.  In anticipation of removing the bcma requirement for
this driver, these must be changed to not reference that struct.  Add a
dma_dev device pointer to the bgmac stuct and reference that instead.

Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c
drivers/net/ethernet/broadcom/bgmac.h