struct clk *clk_master;
int activations;
spinlock_t lock;
- struct iommu_domain *domain;
+ struct exynos_iommu_domain *domain;
struct list_head domain_node;
phys_addr_t pgtable;
unsigned int version;
show_fault_information(dev_name(data->sysmmu),
itype, base, addr);
if (data->domain)
- ret = report_iommu_fault(data->domain,
+ ret = report_iommu_fault(&data->domain->domain,
data->master, addr, itype);
}
}
static int __sysmmu_enable(struct sysmmu_drvdata *data, phys_addr_t pgtable,
- struct iommu_domain *iommu_domain)
+ struct exynos_iommu_domain *domain)
{
int ret = 0;
unsigned long flags;
spin_lock_irqsave(&data->lock, flags);
if (set_sysmmu_active(data)) {
data->pgtable = pgtable;
- data->domain = iommu_domain;
+ data->domain = domain;
__sysmmu_enable_nocount(data);
data = dev_get_drvdata(owner->sysmmu);
if (data) {
- ret = __sysmmu_enable(data, pagetable, iommu_domain);
+ ret = __sysmmu_enable(data, pagetable, domain);
if (ret >= 0) {
data->master = dev;