diff options
author | Bill Nottingham <notting@redhat.com> | 2011-02-23 17:06:34 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2011-02-23 17:07:00 -0500 |
commit | e0f43de5a907edf97a5e19a2de2938b3d190af15 (patch) | |
tree | 6efd8613a6d6e96753f2055923c40e5f6b685f2d | |
parent | 368a245904b416821395c6bf388127dc3606ff02 (diff) | |
download | initscripts-e0f43de5a907edf97a5e19a2de2938b3d190af15.tar initscripts-e0f43de5a907edf97a5e19a2de2938b3d190af15.tar.gz initscripts-e0f43de5a907edf97a5e19a2de2938b3d190af15.tar.bz2 initscripts-e0f43de5a907edf97a5e19a2de2938b3d190af15.tar.xz initscripts-e0f43de5a907edf97a5e19a2de2938b3d190af15.zip |
Fix OMAP patch (#678875)
-rw-r--r-- | src/console_check.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 <linux/serial.h> #include <linux/serial_core.h> +#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; } |