示例#1
0
/*
 * Configure/autoconfigure the port.
 */
static void ambauart_config_port(struct uart_port *port, int flags)
{
	if (flags & UART_CONFIG_TYPE) {
		port->type = PORT_AMBA;
		ambauart_request_port(port);
	}
}
/*
 * Configure/autoconfigure the port.
 */
static void ambauart_config_port(struct uart_port *port, int flags)
{
#if DEBUG
  printk("ambauart_config_port\n");
#endif
  if (flags & UART_CONFIG_TYPE)
  {
     port->type = PORT_AMBA;
     ambauart_request_port(port);
  }
}