dmaengine: sf-pdma: move macro to header file
authorGreen Wan <green.wan@sifive.com>
Mon, 18 Nov 2019 14:35:53 +0000 (22:35 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 22 Nov 2019 05:45:28 +0000 (11:15 +0530)
commit7d268a28ee336ae233b036057607fb73b844d512
treeef9f9d0ac30a8a8ef64f2e3b977cb7d92a166764
parentdd9c324a5e96bfdc4c5c965da6fbd680340cd3f2
dmaengine: sf-pdma: move macro to header file

The place where the macro, SF_PDMA_REG_BASE(), is cause kernel-doc
using wrong function declaration. Move it to header file.

Signed-off-by: Green Wan <green.wan@sifive.com>
Link: https://lore.kernel.org/r/20191118143554.16129-2-green.wan@sifive.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sf-pdma/sf-pdma.c
drivers/dma/sf-pdma/sf-pdma.h