diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2017-09-05 16:43:49 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-09-17 18:59:54 +0530 |
commit | f3ae7d9155c79bb8f97ca3ff61ea979dec402952 (patch) | |
tree | fe2280ca34849311367c764873ab46e4c495a1ca /include | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) | |
download | linux-stable-f3ae7d9155c79bb8f97ca3ff61ea979dec402952.tar.gz linux-stable-f3ae7d9155c79bb8f97ca3ff61ea979dec402952.tar.bz2 linux-stable-f3ae7d9155c79bb8f97ca3ff61ea979dec402952.zip |
dmaengine: xilinx_dma: Move enum xdma_ip_type to driver file
The enum xdma_ip_type is only used inside the Xilinx DMA driver and not
exported to any consumers (nor should it be). So move it from the global
header to driver file itself.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dma/xilinx_dma.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/dma/xilinx_dma.h b/include/linux/dma/xilinx_dma.h index 3ae300052553..34b98f276ed0 100644 --- a/include/linux/dma/xilinx_dma.h +++ b/include/linux/dma/xilinx_dma.h @@ -41,20 +41,6 @@ struct xilinx_vdma_config { int ext_fsync; }; -/** - * enum xdma_ip_type: DMA IP type. - * - * XDMA_TYPE_AXIDMA: Axi dma ip. - * XDMA_TYPE_CDMA: Axi cdma ip. - * XDMA_TYPE_VDMA: Axi vdma ip. - * - */ -enum xdma_ip_type { - XDMA_TYPE_AXIDMA = 0, - XDMA_TYPE_CDMA, - XDMA_TYPE_VDMA, -}; - int xilinx_vdma_channel_set_config(struct dma_chan *dchan, struct xilinx_vdma_config *cfg); |