Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / include / drm / drm_of.h
diff --git a/kernel/include/drm/drm_of.h b/kernel/include/drm/drm_of.h
new file mode 100644 (file)
index 0000000..2441f71
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef __DRM_OF_H__
+#define __DRM_OF_H__
+
+struct drm_device;
+struct device_node;
+
+#ifdef CONFIG_OF
+extern uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
+                                          struct device_node *port);
+#else
+static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
+                                                 struct device_node *port)
+{
+       return 0;
+}
+#endif
+
+#endif /* __DRM_OF_H__ */