[COMMON] iommu/exynos: add temporal function for master driver
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Tue, 26 Apr 2016 07:09:29 +0000 (16:09 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:18 +0000 (19:45 +0900)
Frequently used function for master driver is added temporally to avoid
compile error.

Change-Id: Ieb3986467e9fadcc77aee01f40bb5e9e7d7c04c8
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/iommu/exynos-iommu.c

index 29c27a4ab91aade5fb3af8248bedfd463b982746..a751cf605a2febd63c393aee93fa28f249e2ee14 100644 (file)
@@ -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;