dmaengine/dw_dmac: provide a mechanism to indicate private devices
authorJamie Iles <jamie@jamieiles.com>
Fri, 21 Jan 2011 14:11:54 +0000 (14:11 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sun, 30 Jan 2011 07:10:55 +0000 (23:10 -0800)
commit95ea759e9e116dade3e7386be2a3db76c90f4675
treea69b3fbb02f1d8305357524e67159e69e6ffa002
parentf301c062dcdd113bc977ae1ebc8c12232f8531a9
dmaengine/dw_dmac: provide a mechanism to indicate private devices

Some platforms (e.g. Picochip PC3XX) have multiple DMA controllers
where some may be used for slave transfers and others for general
purpose memcpy type transfers. Add a .is_private boolean to the
platform data structure so that controllers can be marked as private
so that the DMA_PRIVATE capability will be set for that controller.

Signed-off-by: Jamie Iles <jamie.iles@picochip.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dw_dmac.c
include/linux/dw_dmac.h