diff options
| author | Srinivas Kandagatla <srinivas.kandagatla@st.com> | 2014-01-16 14:52:06 +0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-01-17 03:23:43 +0400 |
| commit | 09f8d6960b69e474eef9d2aebdd0d536d00af0c8 (patch) | |
| tree | 1fefc8346294614e68fc05f44d756cd5a3ba2b0a /include/linux | |
| parent | 984203ceff27e9d6d94fbae4b043fc9afb658121 (diff) | |
| download | linux-09f8d6960b69e474eef9d2aebdd0d536d00af0c8.tar.xz | |
net: stmmac: move dma allocation to new function
This patch moves dma resource allocation to a new function
alloc_dma_desc_resources, the reason for moving this to a new function
is to keep the memory allocations in a separate function. One more reason
it to get suspend and hibernation cases working without releasing and
allocating these resources during suspend-resume and freeze-restore
cases.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
