diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-03-05 05:42:43 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-03-05 11:16:48 -0500 |
commit | 68c062eaa87b7b85b65f20f25c54524437715a95 (patch) | |
tree | b4573fe13b515fc04bd7e16b2ff5a02730c30094 /include/linux/dmaengine.h | |
parent | e921eea8e7d4457f424bc3f821cb836e35b91f88 (diff) |
dmaengine: Remove net_dma leftovers
Commit 7bce d397 510a ("net_dma: simple removal") removed the net_dma support
entirely but left some functions and prototypes in the dmaengine header.
Remove them.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r-- | include/linux/dmaengine.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index db0104b0da4d..f5cc5d4f1ad5 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -1108,27 +1108,4 @@ static inline struct dma_chan | |||
1108 | 1108 | ||
1109 | return __dma_request_channel(mask, fn, fn_param); | 1109 | return __dma_request_channel(mask, fn, fn_param); |
1110 | } | 1110 | } |
1111 | |||
1112 | /* --- Helper iov-locking functions --- */ | ||
1113 | |||
1114 | struct dma_page_list { | ||
1115 | char __user *base_address; | ||
1116 | int nr_pages; | ||
1117 | struct page **pages; | ||
1118 | }; | ||
1119 | |||
1120 | struct dma_pinned_list { | ||
1121 | int nr_iovecs; | ||
1122 | struct dma_page_list page_list[0]; | ||
1123 | }; | ||
1124 | |||
1125 | struct dma_pinned_list *dma_pin_iovec_pages(struct iovec *iov, size_t len); | ||
1126 | void dma_unpin_iovec_pages(struct dma_pinned_list* pinned_list); | ||
1127 | |||
1128 | dma_cookie_t dma_memcpy_to_iovec(struct dma_chan *chan, struct iovec *iov, | ||
1129 | struct dma_pinned_list *pinned_list, unsigned char *kdata, size_t len); | ||
1130 | dma_cookie_t dma_memcpy_pg_to_iovec(struct dma_chan *chan, struct iovec *iov, | ||
1131 | struct dma_pinned_list *pinned_list, struct page *page, | ||
1132 | unsigned int offset, size_t len); | ||
1133 | |||
1134 | #endif /* DMAENGINE_H */ | 1111 | #endif /* DMAENGINE_H */ |