Skip to content

Commit

Permalink
xtensa: ISS: add BASE_BAUD definition to serial.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Max Filippov authored and Chris Zankel committed Dec 19, 2012
1 parent d1538c4 commit 94d6c61
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/xtensa/platforms/iss/include/platform/serial.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2012 Tensilica Inc.
*/

#ifndef __ASM_XTENSA_ISS_SERIAL_H
#define __ASM_XTENSA_ISS_SERIAL_H

/* Have no meaning on ISS, but needed for 8250_early.c */
#define BASE_BAUD 0

#endif /* __ASM_XTENSA_ISS_SERIAL_H */

0 comments on commit 94d6c61

Please sign in to comment.