summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2012-01-12 15:55:25 -0800
committerColin Cross <ccross@android.com>2012-02-14 11:25:38 -0800
commit845c038adc58e7448f58bc2cebf7c428601c9da3 (patch)
treef83d1e910b424a577281e7c9ccbf221dd837ef0e /drivers
parent06a809c0c16658ab4bf45ddb61cad8ee18afff80 (diff)
ram_console: set CON_ANYTIME console flag
We want to ensure that we get all the console messages, even ones that occur while the printing CPU is not yet online. Change-Id: I1d2694d05ac9415669a92f38efdd8e71c927705b Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/android/ram_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ram_console.c b/drivers/staging/android/ram_console.c
index 6d4d67924f2..8fe9577b4dc 100644
--- a/drivers/staging/android/ram_console.c
+++ b/drivers/staging/android/ram_console.c
@@ -143,7 +143,7 @@ ram_console_write(struct console *console, const char *s, unsigned int count)
static struct console ram_console = {
.name = "ram",
.write = ram_console_write,
- .flags = CON_PRINTBUFFER | CON_ENABLED,
+ .flags = CON_PRINTBUFFER | CON_ENABLED | CON_ANYTIME,
.index = -1,
};