diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-07-26 01:05:04 +0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-07-26 14:02:52 +0400 |
commit | 4e0e6109a1cc18cc5e4143f828c36b6a3e8be6ad (patch) | |
tree | d74282b348dc2a4b3f78f5840345dd3083a03adf /drivers/dma/mxs-dma.c | |
parent | 1c1d9547536480626c1be1fb062b81663fb2b88e (diff) | |
download | linux-4e0e6109a1cc18cc5e4143f828c36b6a3e8be6ad.tar.xz |
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 <rob.herring@calxeda.com>
Cc: Jassi Brar <jassisinghbrar@gmail.com>
Cc: Vinod Koul <vkoul@infradead.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mxs-dma.c')
0 files changed, 0 insertions, 0 deletions