From: Janghyuck Kim Date: Tue, 26 Apr 2016 07:09:29 +0000 (+0900) Subject: [COMMON] iommu/exynos: add temporal function for master driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c91927c4b800d8cd55518d892955922cf755944;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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;