summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-09-02 07:10:51 +0000
committerchristos <christos@NetBSD.org>2006-09-02 07:10:51 +0000
commitfaec8658c7d7562c139a62db4ebd32fc02fb29da (patch)
treee240f141f7bff5471f518a7e3607bca8bcdcb018 /sys/dev
parent0668b0a2e0c0427cdff2c97803b9aae3c941f5cf (diff)
- fix incomplete initializer
- static goes first
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/mly.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/mly.c b/sys/dev/pci/mly.c
index f73b68d9c33..a8870dd5075 100644
--- a/sys/dev/pci/mly.c
+++ b/sys/dev/pci/mly.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mly.c,v 1.28 2006/08/23 15:44:30 christos Exp $ */
+/* $NetBSD: mly.c,v 1.29 2006/09/02 07:10:51 christos Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mly.c,v 1.28 2006/08/23 15:44:30 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mly.c,v 1.29 2006/09/02 07:10:51 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -172,17 +172,17 @@ dev_type_ioctl(mlyioctl);
const struct cdevsw mly_cdevsw = {
mlyopen, mlyclose, noread, nowrite, mlyioctl,
- nostop, notty, nopoll, nommap, nokqfilter,
+ nostop, notty, nopoll, nommap, nokqfilter, D_OTHER,
};
-struct mly_ident {
+static struct mly_ident {
u_short vendor;
u_short product;
u_short subvendor;
u_short subproduct;
int hwif;
const char *desc;
-} static const mly_ident[] = {
+} const mly_ident[] = {
{
PCI_VENDOR_MYLEX,
PCI_PRODUCT_MYLEX_EXTREMERAID,