aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/dmaengine.c')
-rw-r--r--drivers/dma/dmaengine.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index ac336a961dea..0e035a8cf401 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -11,10 +11,6 @@
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details. 12 * more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 59
16 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 *
18 * The full GNU General Public License is included in this distribution in the 14 * The full GNU General Public License is included in this distribution in the
19 * file called COPYING. 15 * file called COPYING.
20 */ 16 */
@@ -355,20 +351,6 @@ struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type)
355} 351}
356EXPORT_SYMBOL(dma_find_channel); 352EXPORT_SYMBOL(dma_find_channel);
357 353
358/*
359 * net_dma_find_channel - find a channel for net_dma
360 * net_dma has alignment requirements
361 */
362struct dma_chan *net_dma_find_channel(void)
363{
364 struct dma_chan *chan = dma_find_channel(DMA_MEMCPY);
365 if (chan && !is_dma_copy_aligned(chan->device, 1, 1, 1))
366 return NULL;
367
368 return chan;
369}
370EXPORT_SYMBOL(net_dma_find_channel);
371
372/** 354/**
373 * dma_issue_pending_all - flush all pending operations across all channels 355 * dma_issue_pending_all - flush all pending operations across all channels
374 */ 356 */