projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3244582
)
iommu: dma-iommu: export common_iommu_{setup|teardown}_dma_ops
author
Huang, Tao
<huangtao@rock-chips.com>
Wed, 1 Jun 2016 11:19:15 +0000
(19:19 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Wed, 1 Jun 2016 11:19:15 +0000
(19:19 +0800)
This patch adds EXPORT_SYMBOL_GPL calls to common_iommu_setup_dma_ops
and common_iommu_teardown_dma_ops.
Change-Id: I379d487967587cdb9caffa006a7f3763e6cbfb13
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/iommu/dma-iommu-ops.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/dma-iommu-ops.c
b/drivers/iommu/dma-iommu-ops.c
index 047c47e3c0ab76676a3f7a81291619bad1c65361..862d7823985ed9e36b84d26c4c16f7d304a9bec7 100644
(file)
--- a/
drivers/iommu/dma-iommu-ops.c
+++ b/
drivers/iommu/dma-iommu-ops.c
@@
-456,6
+456,7
@@
bool common_iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 size,
return true;
}
+EXPORT_SYMBOL_GPL(common_iommu_setup_dma_ops);
void common_iommu_teardown_dma_ops(struct device *dev)
{
@@
-469,3
+470,4
@@
void common_iommu_teardown_dma_ops(struct device *dev)
arch_set_dma_ops(dev, NULL);
}
+EXPORT_SYMBOL_GPL(common_iommu_teardown_dma_ops);