mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
iommu/rockchip: export functions used in vcodec
When compile rk-vcodec as ko some unexported functions will fail the compiling. This patch will fix this issue. Change-Id: I8afcb4bc3858f0e9efa54e4996cdcb6a45bbe1e1 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -38,6 +38,7 @@ int rockchip_iovmm_invalidate_tlb(struct device *dev)
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(rockchip_iovmm_invalidate_tlb);
|
||||
|
||||
void rockchip_iovmm_set_fault_handler(struct device *dev,
|
||||
rockchip_iommu_fault_handler_t handler)
|
||||
@@ -46,6 +47,7 @@ void rockchip_iovmm_set_fault_handler(struct device *dev,
|
||||
|
||||
data->fault_handler = handler;
|
||||
}
|
||||
EXPORT_SYMBOL(rockchip_iovmm_set_fault_handler);
|
||||
|
||||
int rockchip_iovmm_activate(struct device *dev)
|
||||
{
|
||||
@@ -53,6 +55,7 @@ int rockchip_iovmm_activate(struct device *dev)
|
||||
|
||||
return iommu_attach_device(vmm->domain, dev);
|
||||
}
|
||||
EXPORT_SYMBOL(rockchip_iovmm_activate);
|
||||
|
||||
void rockchip_iovmm_deactivate(struct device *dev)
|
||||
{
|
||||
@@ -60,6 +63,7 @@ void rockchip_iovmm_deactivate(struct device *dev)
|
||||
|
||||
iommu_detach_device(vmm->domain, dev);
|
||||
}
|
||||
EXPORT_SYMBOL(rockchip_iovmm_deactivate);
|
||||
|
||||
dma_addr_t rockchip_iovmm_map(struct device *dev,
|
||||
struct scatterlist *sg, off_t offset, size_t size)
|
||||
|
||||
Reference in New Issue
Block a user