This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: omap: omap-iommu.h: allow building drivers with COMPILE_TEST
Author:  Mauro Carvalho Chehab <mche...@s-opensource.com>
Date:    Thu Apr 5 10:54:14 2018 -0400

Drivers that depend on omap-iommu.h (currently, just omap3isp)
need a stub implementation in order to be built with COMPILE_TEST.

Acked-by: Sakari Ailus <sakari.ai...@linux.intel.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Acked-by: Arnd Bergmann <a...@arndb.de>
Acked-by: Tony Lindgren <t...@atomide.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 include/linux/omap-iommu.h | 5 +++++
 1 file changed, 5 insertions(+)

---

diff --git a/include/linux/omap-iommu.h b/include/linux/omap-iommu.h
index c1aede46718b..ce1b7c6283ee 100644
--- a/include/linux/omap-iommu.h
+++ b/include/linux/omap-iommu.h
@@ -13,7 +13,12 @@
 #ifndef _OMAP_IOMMU_H_
 #define _OMAP_IOMMU_H_
 
+#ifdef CONFIG_OMAP_IOMMU
 extern void omap_iommu_save_ctx(struct device *dev);
 extern void omap_iommu_restore_ctx(struct device *dev);
+#else
+static inline void omap_iommu_save_ctx(struct device *dev) {}
+static inline void omap_iommu_restore_ctx(struct device *dev) {}
+#endif
 
 #endif

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to