diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2010-05-10 16:01:15 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2010-06-07 11:59:26 -0400 |
commit | 22d48269984fc93a71f65a54aa422aacf5fdb926 (patch) | |
tree | 0258830a93632bba7831d990cef04b01c7dd9e63 /include/linux/swiotlb.h | |
parent | bfc5501f6d816082274e10cd45a2d5f32603b328 (diff) |
swiotlb: search and replace "int dir" with "enum dma_data_direction dir"
.. to catch anybody doing something funky.
See "swiotlb: swiotlb: add swiotlb_tbl_map_single library function" for
full description of patchset.
[v2: swiotlb_sync_single_range_* no more - removed usage]
[v3: enum dma_data_direction direction -> enum dma_data_direction dir]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tested-by: Albert Herranz <albert_herranz@yahoo.es>
Diffstat (limited to 'include/linux/swiotlb.h')
-rw-r--r-- | include/linux/swiotlb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index b406261d8887..250d766f17f7 100644 --- a/include/linux/swiotlb.h +++ b/include/linux/swiotlb.h | |||
@@ -43,11 +43,11 @@ extern void swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, | |||
43 | 43 | ||
44 | extern int | 44 | extern int |
45 | swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, | 45 | swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, |
46 | int direction); | 46 | enum dma_data_direction dir); |
47 | 47 | ||
48 | extern void | 48 | extern void |
49 | swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, | 49 | swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, |
50 | int direction); | 50 | enum dma_data_direction dir); |
51 | 51 | ||
52 | extern int | 52 | extern int |
53 | swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, | 53 | swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, |