diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2007-04-02 22:00:22 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2007-04-02 22:00:22 +0000 |
| commit | f8100ce2a70db5c60672578fee913d986ac1cf01 (patch) | |
| tree | b3ad51f3cb65c3badfb015aea4f71d800157abb8 /sys/dev/uart/uart_dev_z8530.c | |
| parent | 1bdb3fb97eb936148ebd3be52850c09ae7f72260 (diff) | |
Notes
Diffstat (limited to 'sys/dev/uart/uart_dev_z8530.c')
| -rw-r--r-- | sys/dev/uart/uart_dev_z8530.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/uart/uart_dev_z8530.c b/sys/dev/uart/uart_dev_z8530.c index 850971817050..33bacdc98f72 100644 --- a/sys/dev/uart/uart_dev_z8530.c +++ b/sys/dev/uart/uart_dev_z8530.c @@ -195,7 +195,7 @@ static void z8530_putc(struct uart_bas *bas, int); static int z8530_rxready(struct uart_bas *bas); static int z8530_getc(struct uart_bas *bas, struct mtx *); -struct uart_ops uart_z8530_ops = { +static struct uart_ops uart_z8530_ops = { .probe = z8530_probe, .init = z8530_init, .term = z8530_term, @@ -298,9 +298,10 @@ static kobj_method_t z8530_methods[] = { }; struct uart_class uart_z8530_class = { - "z8530 class", + "z8530", z8530_methods, sizeof(struct z8530_softc), + .uc_ops = &uart_z8530_ops, .uc_range = 2, .uc_rclk = DEFAULT_RCLK }; |
