]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/video/edid.h
Merge branch 'omap_hsmmc'
[linux-2.6-omap-h63xx.git] / include / video / edid.h
index b913f196131de19549787faf91a413963ada2a2c..928c342b33d65040be5d2bfd958447d21074e92f 100644 (file)
@@ -1,18 +1,16 @@
 #ifndef __linux_video_edid_h__
 #define __linux_video_edid_h__
 
-#ifdef __KERNEL__
-
-#include <linux/config.h>
+#if !defined(__KERNEL__) || defined(CONFIG_X86)
 
-#ifdef CONFIG_X86
 struct edid_info {
        unsigned char dummy[128];
 };
 
+#ifdef __KERNEL__
 extern struct edid_info edid_info;
-#endif /* CONFIG_X86 */
-
 #endif /* __KERNEL__ */
 
+#endif
+
 #endif /* __linux_video_edid_h__ */