/* * Configure/autoconfigure the port. */ static void sa1100_config_port(struct uart_port *port, int flags) { struct sa1100_port *sport = (struct sa1100_port *)port; if (flags & UART_CONFIG_TYPE && sa1100_request_port(&sport->port) == 0) sport->port.type = PORT_SA1100; }
/* * Configure/autoconfigure the port. */ static void sa1100_config_port(struct uart_port *port, int flags) { if (flags & UART_CONFIG_TYPE && sa1100_request_port(port) == 0) port->type = PORT_SA1100; }