diff options
| author | christos <christos@NetBSD.org> | 2006-08-27 23:54:50 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-08-27 23:54:50 +0000 |
| commit | ff62f5c65879970489be73b555de64fe9f6460ce (patch) | |
| tree | f9c92d93966a6a7a90353d59108ea0188705430f /sys/dev | |
| parent | d137310d6b0f21ebe3e6c1438340b0ad7dd800d2 (diff) | |
add missing initializers.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/audio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c index 3aaefe8ebca..7e0e5b3fbc3 100644 --- a/sys/dev/audio.c +++ b/sys/dev/audio.c @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.208 2006/06/27 02:07:08 jmcneill Exp $ */ +/* $NetBSD: audio.c,v 1.209 2006/08/27 23:54:50 christos Exp $ */ /* * Copyright (c) 1991-1993 Regents of the University of California. @@ -61,7 +61,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.208 2006/06/27 02:07:08 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.209 2006/08/27 23:54:50 christos Exp $"); #include "audio.h" #if NAUDIO > 0 @@ -182,13 +182,13 @@ static const struct portname itable[] = { { AudioNmicrophone, AUDIO_MICROPHONE }, { AudioNline, AUDIO_LINE_IN }, { AudioNcd, AUDIO_CD }, - { 0 } + { 0, 0 } }; static const struct portname otable[] = { { AudioNspeaker, AUDIO_SPEAKER }, { AudioNheadphone, AUDIO_HEADPHONE }, { AudioNline, AUDIO_LINE_OUT }, - { 0 } + { 0, 0 } }; void au_setup_ports(struct audio_softc *, struct au_mixer_ports *, mixer_devinfo_t *, const struct portname *); @@ -229,7 +229,7 @@ dev_type_kqfilter(audiokqfilter); const struct cdevsw audio_cdevsw = { audioopen, audioclose, audioread, audiowrite, audioioctl, - nostop, notty, audiopoll, audiommap, audiokqfilter, + nostop, notty, audiopoll, audiommap, audiokqfilter, D_OTHER }; /* The default audio mode: 8 kHz mono mu-law */ |
