drivers/tty/serial/8250/8250_early.c:160:18: error: 'BASE_BAUD' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Max,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
head:   35fd3dc58da675d659513384221349ef90749a01
commit: 695c617ceec7954545285f1aa065edcbfe71fcee xtensa: ISS: add dummy serial.h for ISS platform
date:   4 weeks ago
config: make ARCH=xtensa allyesconfig

All error/warnings:

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)
drivers/tty/serial/8250/8250_early.c:160:18: note: each undeclared identifier is reported only once for each function it appears in

vim +160 drivers/tty/serial/8250/8250_early.c

^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  144  	c = serial_in(port, UART_LCR);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  145  	serial_out(port, UART_LCR, c | UART_LCR_DLAB);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  146  	serial_out(port, UART_DLL, divisor & 0xff);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  147  	serial_out(port, UART_DLM, (divisor >> 8) & 0xff);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  148  	serial_out(port, UART_LCR, c & ~UART_LCR_DLAB);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  149  }
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  150  
ce2e204f drivers/serial/8250_early.c Alan Cox       2008-02-08  151  static int __init parse_options(struct early_serial8250_device *device,
ce2e204f drivers/serial/8250_early.c Alan Cox       2008-02-08  152  								char *options)
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  153  {
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  154  	struct uart_port *port = &device->port;
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  155  	int mmio, mmio32, length;
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  156  
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  157  	if (!options)
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  158  		return -ENODEV;
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16  159  
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 @160  	port->uartclk = BASE_BAUD * 16;
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  161  
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  162  	mmio = !strncmp(options, "mmio,", 5);
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  163  	mmio32 = !strncmp(options, "mmio32,", 7);
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  164  	if (mmio || mmio32) {
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  165  		port->iotype = (mmio ? UPIO_MEM : UPIO_MEM32);
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  166  		port->mapbase = simple_strtoul(options + (mmio ? 5 : 7),
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  167  					       &options, 0);
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20  168  		if (mmio32)


---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux