ARM: mxc: make imx_dma_is_general_purpose more generic for sdma
authorRichard Zhao <richard.zhao@linaro.org>
Thu, 2 Feb 2012 02:12:00 +0000 (10:12 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 27 Feb 2012 07:17:58 +0000 (15:17 +0800)
commit89857353f9264785517393753ec9e77dba144734
tree75e62338b966ccf949ab00f2363038226eebd8b1
parentcdaf29cfd8d76bc6133b1a1d127d029a966df66c
ARM: mxc: make imx_dma_is_general_purpose more generic for sdma

sdma device names vary for different SoC. So we just check
whether it includes "sdma" substring.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/plat-mxc/include/mach/dma.h