Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Max Filippov and committed by
Chris Zankel
94d6c61b d1538c46

+15
+15
arch/xtensa/platforms/iss/include/platform/serial.h
··· 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 */