Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/dev Use C99 struct initialization for wsdis...
details: https://anonhg.NetBSD.org/src/rev/bc4234bf9a8b
branches: trunk
changeset: 330708:bc4234bf9a8b
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Jul 18 18:03:36 2014 +0000
description:
Use C99 struct initialization for wsdisplay_accessops.
diffstat:
sys/arch/luna68k/dev/lunafb.c | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diffs (39 lines):
diff -r 6160e7974e0d -r bc4234bf9a8b sys/arch/luna68k/dev/lunafb.c
--- a/sys/arch/luna68k/dev/lunafb.c Fri Jul 18 18:02:08 2014 +0000
+++ b/sys/arch/luna68k/dev/lunafb.c Fri Jul 18 18:03:36 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lunafb.c,v 1.31 2014/07/13 16:00:32 tsutsui Exp $ */
+/* $NetBSD: lunafb.c,v 1.32 2014/07/18 18:03:36 tsutsui Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: lunafb.c,v 1.31 2014/07/13 16:00:32 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lunafb.c,v 1.32 2014/07/18 18:03:36 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -156,12 +156,14 @@
void (*) (void *, int, int), void *);
static const struct wsdisplay_accessops omfb_accessops = {
- omfbioctl,
- omfbmmap,
- omfb_alloc_screen,
- omfb_free_screen,
- omfb_show_screen,
- 0 /* load_font */
+ .ioctl = omfbioctl,
+ .mmap = omfbmmap,
+ .alloc_screen = omfb_alloc_screen,
+ .free_screen = omfb_free_screen,
+ .show_screen = omfb_show_screen,
+ .load_font = NULL,
+ .pollc = NULL,
+ .scroll = NULL
};
static int omfbmatch(device_t, cfdata_t, void *);
Home |
Main Index |
Thread Index |
Old Index