linux/include/linux/sa11x0-dma.h
<<
>>
Prefs
   1/*
   2 * SA11x0 DMA Engine support
   3 *
   4 * Copyright (C) 2012 Russell King
   5 *
   6 * This program is free software; you can redistribute it and/or modify
   7 * it under the terms of the GNU General Public License version 2 as
   8 * published by the Free Software Foundation.
   9 */
  10#ifndef __LINUX_SA11X0_DMA_H
  11#define __LINUX_SA11X0_DMA_H
  12
  13struct dma_chan;
  14
  15#if defined(CONFIG_DMA_SA11X0) || defined(CONFIG_DMA_SA11X0_MODULE)
  16bool sa11x0_dma_filter_fn(struct dma_chan *, void *);
  17#else
  18static inline bool sa11x0_dma_filter_fn(struct dma_chan *c, void *d)
  19{
  20        return false;
  21}
  22#endif
  23
  24#endif
  25
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.