patch-2.2.9 linux/drivers/video/dummycon.c

Next file: linux/drivers/video/fbmem.c
Previous file: linux/drivers/video/cyber2000fb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.8/linux/drivers/video/dummycon.c linux/drivers/video/dummycon.c
@@ -5,7 +5,6 @@
  *  available, usually until fbcon takes console over.
  */
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/kdev_t.h>
 #include <linux/tty.h>
@@ -18,7 +17,7 @@
  *  Dummy console driver
  */
 
-#if defined(CONFIG_ARM)
+#if defined(__arm__)
 #define DUMMY_COLUMNS	ORIG_VIDEO_COLS
 #define DUMMY_ROWS	ORIG_VIDEO_LINES
 #else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)