summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-12-31 21:30:01 +0000
committerthorpej <thorpej@NetBSD.org>2001-12-31 21:30:01 +0000
commitaedf82267c532d823db37128551731bc2e43b554 (patch)
tree186afa816ca642f9029dac4375bf147779865b18 /sys/dev
parent23c75a9a98d93b2d360c475099c490d98ad27366 (diff)
Move the declaration of an enum to avoid an "unnamed field not allowed"
warning in gcc 3.1.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ac97var.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/ac97var.h b/sys/dev/ic/ac97var.h
index a8c715dbb24..07ef6b11693 100644
--- a/sys/dev/ic/ac97var.h
+++ b/sys/dev/ic/ac97var.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ac97var.h,v 1.4 2001/05/07 08:15:41 lukem Exp $ */
+/* $NetBSD: ac97var.h,v 1.5 2001/12/31 21:30:01 thorpej Exp $ */
/* $OpenBSD: ac97.h,v 1.4 2000/07/19 09:01:35 csapuntz Exp $ */
/*
@@ -33,6 +33,11 @@ struct ac97_codec_if;
/*
* This is the interface used to attach the AC97 compliant CODEC.
*/
+enum ac97_host_flags {
+ AC97_HOST_DONT_READ = 0x1,
+ AC97_HOST_SWAPPED_CHANNELS = 0x2 /* l/r is reversed */
+};
+
struct ac97_host_if {
void *arg;
@@ -41,11 +46,6 @@ struct ac97_host_if {
int (*write)(void *arg, u_int8_t reg, u_int16_t val);
void (*reset)(void *arg);
- enum ac97_host_flags {
- AC97_HOST_DONT_READ = 0x1,
- AC97_HOST_SWAPPED_CHANNELS = 0x2 /* l/r is reversed */
- };
-
enum ac97_host_flags (*flags)(void *arg);
};