diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-10-20 20:07:32 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-10-20 20:07:32 +0000 |
commit | 18c58937b130d1a2db44d6c3d473a90949843503 (patch) | |
tree | f3060b2bced081991252774ec62653771951673e /sys/dev/pcmcia | |
parent | ef62fda8f2253b04886159b1e9107fe71b2627db (diff) |
Use C99 named initializers for struct wsdisplay_accessops fields.
No functional change.
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r-- | sys/dev/pcmcia/cfxga.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/dev/pcmcia/cfxga.c b/sys/dev/pcmcia/cfxga.c index efbe02bf046..6be8d59828d 100644 --- a/sys/dev/pcmcia/cfxga.c +++ b/sys/dev/pcmcia/cfxga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfxga.c,v 1.23 2013/06/11 18:15:55 deraadt Exp $ */ +/* $OpenBSD: cfxga.c,v 1.24 2013/10/20 20:07:30 miod Exp $ */ /* * Copyright (c) 2005, 2006, Matthieu Herrb and Miodrag Vallat @@ -118,15 +118,12 @@ int cfxga_show_screen(void *, void *, int, void (*)(void *, int, int), void *); struct wsdisplay_accessops cfxga_accessops = { - cfxga_ioctl, - cfxga_mmap, - cfxga_alloc_screen, - cfxga_free_screen, - cfxga_show_screen, - NULL, - NULL, - NULL, - cfxga_burner + .ioctl = cfxga_ioctl, + .mmap = cfxga_mmap, + .alloc_screen = cfxga_alloc_screen, + .free_screen = cfxga_free_screen, + .show_screen = cfxga_show_screen, + .burn_screen = cfxga_burner }; /* |