]> git.baikalelectronics.ru Git - 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)
commit75ccd5e69f1a61da639f2f32e15d2ce1b1ee15e5
tree080ebf7c45c46c58b134c341ae8bd6fa32e63f72
parent2e5e5c264b2f8be1c741e15bdef62a1858dcbf97
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