Re: [PATCH v2 2/6] net: ethernet: bgmac: add dma_dev pointer

2016-07-08 Thread Florian Fainelli
On 07/07/2016 04:08 PM, Jon Mason wrote: > 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

[PATCH v2 2/6] net: ethernet: bgmac: add dma_dev pointer

2016-07-07 Thread Jon Mason
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: