summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h3
-rw-r--r--include/console.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h
index ac29e0667e..e6f7d662ec 100644
--- a/include/common.h
+++ b/include/common.h
@@ -27,9 +27,6 @@
#include <stdio.h>
#include <compiler.h>
-#undef _LINUX_CONFIG_H
-#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */
-
#include <config.h>
#include <linux/bitops.h>
#include <linux/types.h>
diff --git a/include/console.h b/include/console.h
index 7553756fbd..d6e2fb55ce 100644
--- a/include/console.h
+++ b/include/console.h
@@ -47,5 +47,7 @@ struct console_device {
int console_register(struct console_device *cdev);
+#define CFG_PBSIZE (CONFIG_CBSIZE+sizeof(CONFIG_PROMPT)+16)
+
#endif