Module Name: src
Committed By: cegger
Date: Thu Dec 23 21:11:37 UTC 2010
Modified Files:
src/sys/dev/pci: chipsfb.c
Log Message:
build fix: add missing initializers
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pci/chipsfb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/chipsfb.c
diff -u src/sys/dev/pci/chipsfb.c:1.23 src/sys/dev/pci/chipsfb.c:1.24
--- src/sys/dev/pci/chipsfb.c:1.23 Thu Dec 16 06:19:01 2010
+++ src/sys/dev/pci/chipsfb.c Thu Dec 23 21:11:37 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: chipsfb.c,v 1.23 2010/12/16 06:19:01 cegger Exp $ */
+/* $NetBSD: chipsfb.c,v 1.24 2010/12/23 21:11:37 cegger Exp $ */
/*
* Copyright (c) 2006 Michael Lorenz
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: chipsfb.c,v 1.23 2010/12/16 06:19:01 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: chipsfb.c,v 1.24 2010/12/23 21:11:37 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -153,11 +153,12 @@
static uint32_t chipsfb_probe_vram(struct chipsfb_softc *);
struct wsscreen_descr chipsfb_defaultscreen = {
- "default",
- 0, 0,
- NULL,
- 8, 16,
- WSSCREEN_WSCOLORS | WSSCREEN_HILIT,
+ "default", /* name */
+ 0, 0, /* ncols, nrows */
+ NULL, /* textops */
+ 8, 16, /* fontwidth, fontheight */
+ WSSCREEN_WSCOLORS | WSSCREEN_HILIT, /* capabilities */
+ NULL, /* modecookie */
};
const struct wsscreen_descr *_chipsfb_scrlist[] = {
@@ -180,6 +181,9 @@
struct wsdisplay_accessops chipsfb_accessops = {
chipsfb_ioctl,
chipsfb_mmap,
+ NULL, /* vcons_alloc_screen */
+ NULL, /* vcons_free_screen */
+ NULL, /* vcons_show_screen */
NULL, /* load_font */
NULL, /* polls */
NULL, /* scroll */