From: Rob Herring Date: Mon, 25 Jul 2011 21:05:04 +0000 (-0500) Subject: dmaengine: pl330: make platform data optional X-Git-Tag: v3.1-rc1~92^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e0e6109a1cc18cc5e4143f828c36b6a3e8be6ad;p=pandora-kernel.git dmaengine: pl330: make platform data optional The pl330 needs platform data for describing peripheral connections, but some platforms may only support memory to memory dma channels. In this case, we can probe for how many channels there are and don't need the platform data. As memcpy requests don't need channel private data to hold peripheral info, allow private data to be NULL in this case. Signed-off-by: Rob Herring Cc: Jassi Brar Cc: Vinod Koul Cc: Dan Williams Acked-by: Jassi Brar Signed-off-by: Vinod Koul --- Reading git-diff-tree failed