dmaengine: pl08x: Make slave engine optional
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 20 May 2017 21:42:52 +0000 (23:42 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 24 May 2017 04:14:32 +0000 (09:44 +0530)
commitebe9b3005d90d4500f4feb605a4ab6191e2dd34f
tree26eed218a85c3db719a6152592100ea43bb6147b
parent9e972571d4040213775eb40f17ac80c109e09f8a
dmaengine: pl08x: Make slave engine optional

If the vendor data does not specify any signals, we do not
have to support slave DMA. Make the registration of the slave
DMA engine optional, so we can use this for the FTDMAC020
in the Gemini that only has memcpy support.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c