From 4c91927c4b800d8cd55518d892955922cf755944 Mon Sep 17 00:00:00 2001 From: Janghyuck Kim Date: Tue, 26 Apr 2016 16:09:29 +0900 Subject: [PATCH] [COMMON] iommu/exynos: add temporal function for master driver Frequently used function for master driver is added temporally to avoid compile error. Change-Id: Ieb3986467e9fadcc77aee01f40bb5e9e7d7c04c8 Signed-off-by: Janghyuck Kim --- drivers/iommu/exynos-iommu.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 29c27a4ab91a..a751cf605a2f 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -939,6 +939,29 @@ static struct iommu_ops exynos_iommu_ops = { .of_xlate = exynos_iommu_of_xlate, }; +void exynos_sysmmu_show_status(struct device *dev) +{ + /* DUMMY */ + dev_info(dev, "Called sysmmu show status\n"); +} + +void iovmm_set_fault_handler(struct device *dev, + iommu_fault_handler_t handler, void *token) +{ + /* DUMMY */ + dev_info(dev, "Called set fault handler\n"); +} + +int sysmmu_set_prefetch_buffer_property(struct device *dev, + unsigned int inplanes, unsigned int onplanes, + unsigned int ipoption[], unsigned int opoption[]) +{ + /* DUMMY */ + dev_info(dev, "Called prefetch buffer property\n"); + + return 0; +} + static int __init exynos_iommu_create_domain(void) { struct device_node *domain_np; -- 2.20.1