TTY_REGISTER_DEVICE

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

tty_register_device - register a tty device  

SYNOPSIS

"SYNOPSIS"

void tty_register_device (struct tty_driver * driver, unsigned index, struct device * device);  

ARGUMENTS

driver
the tty driver that describes the tty device
index
the index in the tty driver for this tty device
device
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.
 

DESCRIPTION

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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 07:07:31 GMT, October 06, 2005