From faec8658c7d7562c139a62db4ebd32fc02fb29da Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 2 Sep 2006 07:10:51 +0000 Subject: - fix incomplete initializer - static goes first --- sys/dev/pci/mly.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/dev') 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 -__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 #include @@ -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, -- cgit