diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-07 11:46:12 +0000 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-07 11:46:12 +0000 |
| commit | bb8c95055aef340e05ff0ba5cfb9063c51534376 (patch) | |
| tree | f231e7d9baf0c6d90d59f1545e1c4ab81d564d36 /include/linux | |
| parent | 3c500a35544d6270b127bce7d4c5a15ef454b9e2 (diff) | |
| parent | 7931d92f4f38100061cf6b8a9737967057f94871 (diff) | |
Merge branch 'sa11x0-dma' into sa11x0-ir
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sa11x0-dma.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/sa11x0-dma.h b/include/linux/sa11x0-dma.h new file mode 100644 index 000000000000..65839a58b8e5 --- /dev/null +++ b/include/linux/sa11x0-dma.h @@ -0,0 +1,24 @@ +/* + * SA11x0 DMA Engine support + * + * Copyright (C) 2012 Russell King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#ifndef __LINUX_SA11X0_DMA_H +#define __LINUX_SA11X0_DMA_H + +struct dma_chan; + +#if defined(CONFIG_DMA_SA11X0) || defined(CONFIG_DMA_SA11X0_MODULE) +bool sa11x0_dma_filter_fn(struct dma_chan *, void *); +#else +static inline bool sa11x0_dma_filter_fn(struct dma_chan *c, void *d) +{ + return false; +} +#endif + +#endif |
