mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-23 00:33:21 +00:00
Use standard style for cdevsw initializtion
This commit is contained in:
parent
f8f3930958
commit
e618d9ea2d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125809
|
@ -67,15 +67,15 @@ static d_close_t uart_tty_close;
|
|||
static d_ioctl_t uart_tty_ioctl;
|
||||
|
||||
static struct cdevsw uart_cdevsw = {
|
||||
.d_open = uart_tty_open,
|
||||
.d_close = uart_tty_close,
|
||||
.d_read = ttyread,
|
||||
.d_write = ttywrite,
|
||||
.d_ioctl = uart_tty_ioctl,
|
||||
.d_poll = ttypoll,
|
||||
.d_name = uart_driver_name,
|
||||
.d_flags = D_TTY,
|
||||
.d_kqfilter = ttykqfilter,
|
||||
.d_open = uart_tty_open,
|
||||
.d_close = uart_tty_close,
|
||||
.d_read = ttyread,
|
||||
.d_write = ttywrite,
|
||||
.d_ioctl = uart_tty_ioctl,
|
||||
.d_poll = ttypoll,
|
||||
.d_name = uart_driver_name,
|
||||
.d_flags = D_TTY,
|
||||
.d_kqfilter = ttykqfilter,
|
||||
};
|
||||
|
||||
static struct uart_devinfo uart_console;
|
||||
|
|
Loading…
Reference in a new issue