Skip to content

Commit

Permalink
dmaengine: edma: make edma_filter_fn private
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Vinod Koul committed Jul 22, 2019
1 parent 9c71b9e commit d2bfe7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 31 deletions.
5 changes: 3 additions & 2 deletions drivers/dma/ti/edma.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/edma.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
Expand Down Expand Up @@ -2185,6 +2184,8 @@ static struct dma_chan *of_edma_xlate(struct of_phandle_args *dma_spec,
}
#endif

static bool edma_filter_fn(struct dma_chan *chan, void *param);

static int edma_probe(struct platform_device *pdev)
{
struct edma_soc_info *info = pdev->dev.platform_data;
Expand Down Expand Up @@ -2524,7 +2525,7 @@ static struct platform_driver edma_tptc_driver = {
},
};

bool edma_filter_fn(struct dma_chan *chan, void *param)
static bool edma_filter_fn(struct dma_chan *chan, void *param)
{
bool match = false;

Expand Down
29 changes: 0 additions & 29 deletions include/linux/edma.h

This file was deleted.

0 comments on commit d2bfe7b

Please sign in to comment.