Merge tag 'dmaengine-4.21-rc1' of git://git.infradead.org/users/vkoul/slave-dma
[sfrench/cifs-2.6.git] / drivers / dma / pxa_dma.c
index e78fe98b5cf1445c45ed75bbd77b4ad4d868f6f3..b429642f3e7aa91a03c9416ae151c401571d381d 100644 (file)
@@ -179,7 +179,7 @@ static unsigned int pxad_drcmr(unsigned int line)
        return 0x1000 + line * 4;
 }
 
-bool pxad_filter_fn(struct dma_chan *chan, void *param);
+static bool pxad_filter_fn(struct dma_chan *chan, void *param);
 
 /*
  * Debug fs
@@ -1488,7 +1488,7 @@ static struct platform_driver pxad_driver = {
        .remove         = pxad_remove,
 };
 
-bool pxad_filter_fn(struct dma_chan *chan, void *param)
+static bool pxad_filter_fn(struct dma_chan *chan, void *param)
 {
        struct pxad_chan *c = to_pxad_chan(chan);
        struct pxad_param *p = param;
@@ -1501,7 +1501,6 @@ bool pxad_filter_fn(struct dma_chan *chan, void *param)
 
        return true;
 }
-EXPORT_SYMBOL_GPL(pxad_filter_fn);
 
 module_platform_driver(pxad_driver);