summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2010-04-22 08:45:55 +0000
committerpooka <pooka@NetBSD.org>2010-04-22 08:45:55 +0000
commit0bacc518068bcf949c889f00fc791108fd56357a (patch)
tree246f45d9a452f2938c348644a62682cdf698c158
parent67e7c628fb67d4093ce2dae5b440ceb10f5160ad (diff)
fix compilation with -Wmissing-field-initializers.
smoke _KERNEL_OPT where appropriate.
-rw-r--r--sys/dev/usb/pseye.c6
-rw-r--r--sys/dev/usb/uvideo.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/usb/pseye.c b/sys/dev/usb/pseye.c
index 8049ce038ce..a06e7ef149a 100644
--- a/sys/dev/usb/pseye.c
+++ b/sys/dev/usb/pseye.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pseye.c,v 1.15 2009/12/06 21:40:31 dyoung Exp $ */
+/* $NetBSD: pseye.c,v 1.16 2010/04/22 08:45:55 pooka Exp $ */
/*-
* Copyright (c) 2008 Jared D. McNeill <jmcneill@invisible.ca>
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pseye.c,v 1.15 2009/12/06 21:40:31 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pseye.c,v 1.16 2010/04/22 08:45:55 pooka Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -848,7 +848,7 @@ static struct cfdata pseye_cfdata[] = {
.cf_flags = 0,
.cf_pspec = &uhubparent,
},
- { NULL }
+ { NULL, NULL, 0, 0, NULL, 0, NULL }
};
static int
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index be88b484776..3addb14a245 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uvideo.c,v 1.30 2009/11/12 20:01:15 dyoung Exp $ */
+/* $NetBSD: uvideo.c,v 1.31 2010/04/22 08:45:55 pooka Exp $ */
/*
* Copyright (c) 2008 Patrick Mahoney
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.30 2009/11/12 20:01:15 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.31 2010/04/22 08:45:55 pooka Exp $");
#ifdef _MODULE
#include <sys/module.h>
@@ -75,7 +75,7 @@ __KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.30 2009/11/12 20:01:15 dyoung Exp $");
#include <dev/usb/uvideoreg.h>
-#if !defined(_MODULE)
+#if defined(_KERNEL_OPT)
#include "opt_uvideo.h"
#endif
@@ -2342,7 +2342,7 @@ static struct cfdata uvideo_cfdata[] = {
.cf_flags = 0,
.cf_pspec = &uhubparent,
},
- { NULL }
+ { NULL, NULL, 0, 0, NULL, 0, NULL },
};
static int