.\" 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 "TTY_REGISTER_DEVICE" "" "06 October 2005" "" "" .SH NAME tty_register_device \- register a tty device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void tty_register_device (struct tty_driver * \fIdriver\fB, unsigned \fIindex\fB, struct device * \fIdevice\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdriver\fB\fR the tty driver that describes the tty device .TP \fB\fIindex\fB\fR the index in the tty driver for this tty device .TP \fB\fIdevice\fB\fR a struct device that is associated with this tty device. This field is optional, if there is no known struct device for this tty device it can be set to NULL safely. .SH "DESCRIPTION" .PP This call is required to be made to register an individual tty device if the tty driver's flags have the TTY_DRIVER_NO_DEVFS bit set. If that bit is not set, this function should not be called.