aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-10-31 04:37:04 -0400
committerChris Zankel <chris@zankel.net>2012-12-19 00:10:21 -0500
commit94d6c61b97cbcb3b538276c3785896ea12ecaecb (patch)
tree4d64feed8ac98049975484bcadcb57e880bfc679 /arch/xtensa
parentd1538c4675f37d0eeb34bd38bec798b3b29a5a7e (diff)
xtensa: ISS: add BASE_BAUD definition to serial.h
This fixes the following build error in allyesconfig: drivers/tty/serial/8250/8250_early.c: In function 'parse_options': drivers/tty/serial/8250/8250_early.c:160:18: error: 'BASE_BAUD' undeclared (first use in this function) Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/platforms/iss/include/platform/serial.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/xtensa/platforms/iss/include/platform/serial.h b/arch/xtensa/platforms/iss/include/platform/serial.h
index e69de29bb2d1..16aec542d435 100644
--- a/arch/xtensa/platforms/iss/include/platform/serial.h
+++ b/arch/xtensa/platforms/iss/include/platform/serial.h
@@ -0,0 +1,15 @@
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2012 Tensilica Inc.
7 */
8
9#ifndef __ASM_XTENSA_ISS_SERIAL_H
10#define __ASM_XTENSA_ISS_SERIAL_H
11
12/* Have no meaning on ISS, but needed for 8250_early.c */
13#define BASE_BAUD 0
14
15#endif /* __ASM_XTENSA_ISS_SERIAL_H */