]> err.no Git - linux-2.6/blobdiff - drivers/video/fbmon.c
sh: Cleanup board header directories.
[linux-2.6] / drivers / video / fbmon.c
index 87b0224d234731a529dc51690431f1ec63dcdabf..de93139ccbb5a5cb265eee0706200b12cde5c551 100644 (file)
@@ -26,7 +26,6 @@
  * for more details.
  *
  */
-#include <linux/tty.h>
 #include <linux/fb.h>
 #include <linux/module.h>
 #include <linux/pci.h>
@@ -1301,7 +1300,7 @@ int fb_validate_mode(const struct fb_var_screeninfo *var, struct fb_info *info)
                -EINVAL : 0;
 }
 
-#if defined(CONFIG_FB_FIRMWARE_EDID) && defined(__i386__)
+#if defined(CONFIG_FIRMWARE_EDID) && defined(CONFIG_X86)
 
 /*
  * We need to ensure that the EDID block is only returned for