1 From 81ff7627ad0d958a5c156cb7d880af8707e14f47 Mon Sep 17 00:00:00 2001
2 From: Alexander Holler <holler@ahsoftware.de>
3 Date: Wed, 4 Jul 2012 00:03:04 +0200
4 Subject: [PATCH 4/5] zeroMAP: Open your eyes!
6 Signed-off-by: Alexander Holler <holler@ahsoftware.de>
8 kernel/printk.c | 7 +++++++
9 1 files changed, 7 insertions(+), 0 deletions(-)
11 diff --git a/kernel/printk.c b/kernel/printk.c
12 index 22e070f..3678740 100644
15 @@ -1759,6 +1759,13 @@ static int __init console_setup(char *str)
16 char *s, *options, *brl_options = NULL;
19 +#ifdef CONFIG_SERIAL_OMAP
20 + if (!strncmp(str, "tty0", 4) && '0' <= str[4] && '9' >= str[4]) {
22 + pr_warn("We are opening your eyes, assuming you want to use an OMAP based serial driver and not a zeroMAP based one! ;)\n");
23 + pr_warn("Which means 'tty0%s' was changed to 'ttyO%s' automagically for your pleasure.\n", str+4, str+4);
26 #ifdef CONFIG_A11Y_BRAILLE_CONSOLE
27 if (!memcmp(str, "brl,", 4)) {