diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-07-22 11:16:45 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-07-22 18:27:04 +0300 |
commit | d2bfe7b5d182dad54aedb9dcdb736e8816ead1c3 (patch) | |
tree | 18d560d5e2160450c6b5d4d5467e8ef089d903b2 /include/linux/edma.h | |
parent | 9c71b9eb3cb25856e29f0486eae9ee1ba864ba51 (diff) | |
download | linux-d2bfe7b5d182dad54aedb9dcdb736e8816ead1c3.tar.xz |
dmaengine: edma: make edma_filter_fn private
With the audio driver no longer referring to this function, it
can be made private to the dmaengine driver itself, and the
header file removed.
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20190722081705.2084961-2-arnd@arndb.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/edma.h')
-rw-r--r-- | include/linux/edma.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/linux/edma.h b/include/linux/edma.h deleted file mode 100644 index a1307e7827e8..000000000000 --- a/include/linux/edma.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * TI EDMA DMA engine driver - * - * Copyright 2012 Texas Instruments - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation version 2. - * - * This program is distributed "as is" WITHOUT ANY WARRANTY of any - * kind, whether express or implied; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ -#ifndef __LINUX_EDMA_H -#define __LINUX_EDMA_H - -struct dma_chan; - -#if defined(CONFIG_TI_EDMA) || defined(CONFIG_TI_EDMA_MODULE) -bool edma_filter_fn(struct dma_chan *, void *); -#else -static inline bool edma_filter_fn(struct dma_chan *chan, void *param) -{ - return false; -} -#endif - -#endif |