]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: stmmac: simplify the common DMA init API
authorNiklas Cassel <niklas.cassel@axis.com>
Wed, 7 Dec 2016 14:20:04 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 18:07:10 +0000 (13:07 -0500)
commit50ca903afc2a4ccf7efd25744577fecb0ce6fb49
tree080ebf7c45c46c58b134c341ae8bd6fa32e63f72
parent89ab75bf7253271c0ca805931105a298bc22bfdf
net: stmmac: simplify the common DMA init API

Use struct stmmac_dma_cfg *dma_cfg as an argument rather
than using all the struct members as individual arguments.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Acked-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c
drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c
drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c