[PATCH] per task delay accounting taskstats interface: documentation fix
[powerpc.git] / arch / x86_64 / kernel / early_printk.c
index 13af920..140051e 100644 (file)
@@ -2,7 +2,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/string.h>
-#include <linux/tty.h>
+#include <linux/screen_info.h>
 #include <asm/io.h>
 #include <asm/processor.h>
 #include <asm/fcntl.h>
@@ -221,7 +221,7 @@ int __init setup_early_printk(char *opt)
        char buf[256];
 
        if (early_console_initialized)
-               return -1;
+               return 1;
 
        strlcpy(buf,opt,sizeof(buf));
        space = strchr(buf, ' ');