diff options
Diffstat (limited to 'sys/arch/sparc/dev/mgx.c')
-rw-r--r-- | sys/arch/sparc/dev/mgx.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/arch/sparc/dev/mgx.c b/sys/arch/sparc/dev/mgx.c index aef375330c2..588df5297ec 100644 --- a/sys/arch/sparc/dev/mgx.c +++ b/sys/arch/sparc/dev/mgx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mgx.c,v 1.16 2009/09/05 14:09:35 miod Exp $ */ +/* $OpenBSD: mgx.c,v 1.17 2013/10/20 20:07:26 miod Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * All rights reserved. @@ -131,16 +131,9 @@ int mgx_ioctl(void *, u_long, caddr_t, int, struct proc *); paddr_t mgx_mmap(void *, off_t, int); struct wsdisplay_accessops mgx_accessops = { - mgx_ioctl, - mgx_mmap, - NULL, /* alloc_screen */ - NULL, /* free_screen */ - NULL, /* show_screen */ - NULL, /* load_font */ - NULL, /* scrollback */ - NULL, /* getchar */ - mgx_burner, - NULL /* pollc */ + .ioctl = mgx_ioctl, + .mmap = mgx_mmap, + .burn_screen = mgx_burner }; int mgx_getcmap(u_int8_t *, struct wsdisplay_cmap *); |