Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | #ifndef __linux_video_edid_h__ |
| 2 | #define __linux_video_edid_h__ |
| 3 | |
| 4 | #ifdef __KERNEL__ |
| 5 | |
| 6 | #include <linux/config.h> |
| 7 | #ifdef CONFIG_PPC_OF |
| 8 | #include <linux/pci.h> |
| 9 | #endif |
| 10 | |
| 11 | #ifdef CONFIG_X86 |
| 12 | struct edid_info { |
| 13 | unsigned char dummy[128]; |
| 14 | }; |
| 15 | |
| 16 | extern struct edid_info edid_info; |
| 17 | extern char *get_EDID_from_BIOS(void *); |
| 18 | |
| 19 | #endif /* CONFIG_X86 */ |
| 20 | |
| 21 | #ifdef CONFIG_PPC_OF |
| 22 | extern char *get_EDID_from_OF(struct pci_dev *pdev); |
| 23 | #endif |
| 24 | |
| 25 | #endif /* __KERNEL__ */ |
| 26 | |
| 27 | #endif /* __linux_video_edid_h__ */ |