summaryrefslogtreecommitdiffstats
path: root/include/video/edid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video/edid.h')
-rw-r--r--include/video/edid.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/video/edid.h b/include/video/edid.h
new file mode 100644
index 0000000..abc1b48
--- /dev/null
+++ b/include/video/edid.h
@@ -0,0 +1,27 @@
+#ifndef __linux_video_edid_h__
+#define __linux_video_edid_h__
+
+#ifdef __KERNEL__
+
+#include <linux/config.h>
+#ifdef CONFIG_PPC_OF
+#include <linux/pci.h>
+#endif
+
+#ifdef CONFIG_X86
+struct edid_info {
+ unsigned char dummy[128];
+};
+
+extern struct edid_info edid_info;
+extern char *get_EDID_from_BIOS(void *);
+
+#endif /* CONFIG_X86 */
+
+#ifdef CONFIG_PPC_OF
+extern char *get_EDID_from_OF(struct pci_dev *pdev);
+#endif
+
+#endif /* __KERNEL__ */
+
+#endif /* __linux_video_edid_h__ */
OpenPOWER on IntegriCloud