From: Srinivas Kandagatla Date: Thu, 16 Jan 2014 10:52:06 +0000 (+0000) Subject: net: stmmac: move dma allocation to new function X-Git-Tag: v3.14-rc1~94^2~145^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09f8d6960b69e474eef9d2aebdd0d536d00af0c8;p=pandora-kernel.git 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 Acked-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- Reading git-diff-tree failed