Use standard style for cdevsw initializtion

This commit is contained in:
Poul-Henning Kamp 2004-02-14 20:01:24 +00:00
parent f8f3930958
commit e618d9ea2d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125809

View file

@ -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;