summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-02-14 20:01:24 +0000
committerphk <phk@FreeBSD.org>2004-02-14 20:01:24 +0000
commit62ecc1aa59ee9a6e864d3002674570c3e4819f21 (patch)
treed3997016f973beb2ab5b50dfc0d03d2650f1a601 /sys/dev
parente89cea88cb692767abc70ded393c9a3b595e11cc (diff)
downloadFreeBSD-src-62ecc1aa59ee9a6e864d3002674570c3e4819f21.zip
FreeBSD-src-62ecc1aa59ee9a6e864d3002674570c3e4819f21.tar.gz
Use standard style for cdevsw initializtion
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/uart/uart_tty.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c
index ec1c6db..6724ba7 100644
--- a/sys/dev/uart/uart_tty.c
+++ b/sys/dev/uart/uart_tty.c
@@ -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;
OpenPOWER on IntegriCloud