From bdbd88df9f62c481cce46b0b8654cf9a16c8995f Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 23 Feb 2011 17:06:34 -0500 Subject: Fix OMAP patch (#678875) --- src/console_check.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/console_check.c b/src/console_check.c index 84c7a926..8584f78e 100644 --- a/src/console_check.c +++ b/src/console_check.c @@ -28,6 +28,11 @@ #include #include +#ifndef PORT_OMAP +/* from linux-2.6/include/linux/serial_core.h commit b612633b */ +#define PORT_OMAP 96 +#endif + struct speeds { speed_t speed; @@ -122,7 +127,7 @@ char *serial_tty_name(int type) { case PORT_MPC52xx: return "ttyPSC"; case PORT_OMAP: - return "ttySO"; + return "ttyO"; default: return NULL; } -- cgit v1.2.1