.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "UART_ADD_ONE_PORT" "9" "09 October 2005" "" ""
.SH NAME
uart_add_one_port \- attach a driver-defined port structure
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int uart_add_one_port (struct uart_driver * \fIdrv\fB, struct uart_port * \fIport\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrv\fB\fR
pointer to the uart low level driver structure for this port
.TP
\fB\fIport\fB\fR
uart port structure to use for this port.
.SH "DESCRIPTION"
.PP
This allows the driver to register its own uart_port structure
with the core driver. The main purpose is to allow the low
level uart drivers to expand uart_port, rather than having yet
more levels of structures.