summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/tcx.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-10-20 20:07:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-10-20 20:07:32 +0000
commit18c58937b130d1a2db44d6c3d473a90949843503 (patch)
treef3060b2bced081991252774ec62653771951673e /sys/arch/sparc/dev/tcx.c
parentef62fda8f2253b04886159b1e9107fe71b2627db (diff)
Use C99 named initializers for struct wsdisplay_accessops fields.
No functional change.
Diffstat (limited to 'sys/arch/sparc/dev/tcx.c')
-rw-r--r--sys/arch/sparc/dev/tcx.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/arch/sparc/dev/tcx.c b/sys/arch/sparc/dev/tcx.c
index 6500a9c62d5..1b15b612ecb 100644
--- a/sys/arch/sparc/dev/tcx.c
+++ b/sys/arch/sparc/dev/tcx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcx.c,v 1.46 2013/05/31 22:07:49 deraadt Exp $ */
+/* $OpenBSD: tcx.c,v 1.47 2013/10/20 20:07:26 miod Exp $ */
/* $NetBSD: tcx.c,v 1.8 1997/07/29 09:58:14 fair Exp $ */
/*
@@ -125,16 +125,9 @@ void tcx_setcolor(void *, u_int, u_int8_t, u_int8_t, u_int8_t);
void tcx_stipple(struct tcx_softc *, int, int, int, int, int);
struct wsdisplay_accessops tcx_accessops = {
- tcx_ioctl,
- tcx_mmap,
- NULL, /* alloc_screen */
- NULL, /* free_screen */
- NULL, /* show_screen */
- NULL, /* load_font */
- NULL, /* scrollback */
- NULL, /* getchar */
- tcx_burner,
- NULL /* pollc */
+ .ioctl = tcx_ioctl,
+ .mmap = tcx_mmap,
+ .burn_screen = tcx_burner
};
int tcxmatch(struct device *, void *, void *);