summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry@NetBSD.org>2008-06-24 10:17:00 +0000
committergmcgarry <gmcgarry@NetBSD.org>2008-06-24 10:17:00 +0000
commit39cc1fe282ded24c49bf0f8303c3f8500e1349b0 (patch)
treeb054d31faec72c6641345e90a9ef7361c6dea946 /sys/dev
parent59f6f4f552cb86e63db8cb4998ecaea715207254 (diff)
pcc doesn't like empty structures for initialisation. Fill with zeros.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/azalia_codec.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 46618c60799..9bca47acedc 100644
--- a/sys/dev/pci/azalia_codec.c
+++ b/sys/dev/pci/azalia_codec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: azalia_codec.c,v 1.65 2008/06/07 16:32:38 freza Exp $ */
+/* $NetBSD: azalia_codec.c,v 1.66 2008/06/24 10:17:00 gmcgarry Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: azalia_codec.c,v 1.65 2008/06/07 16:32:38 freza Exp $");
+__KERNEL_RCSID(0, "$NetBSD: azalia_codec.c,v 1.66 2008/06/24 10:17:00 gmcgarry Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -4079,7 +4079,9 @@ atihdmi_init_dacgroup(codec_t *this)
static const convgroupset_t dacs = {
-1, 1,
{{1, {0x02}}}}; /* digital */
- static const convgroupset_t adcs = {-1, 0, {}}; /* no recording */
+ static const convgroupset_t adcs = {
+ -1, 0,
+ {{0, {0x00}}}}; /* no recording */
this->dacs = dacs;
this->adcs = adcs;