summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-07-15 20:11:16 +0000
committernetchild <netchild@FreeBSD.org>2006-07-15 20:11:16 +0000
commitd0d12e987a4139ae861ac11340ec26890a8303ea (patch)
tree7e257ac4a4aaca2f9a916b8b8be09283e793c7a5 /sys/dev/sound
parent96dc69f45bc4a958453a67326eb3a5a34d7431fb (diff)
downloadFreeBSD-src-d0d12e987a4139ae861ac11340ec26890a8303ea.zip
FreeBSD-src-d0d12e987a4139ae861ac11340ec26890a8303ea.tar.gz
Make the mixer kobj class static. This brings it inline with the channel or
ac97 classes. Tested with: es137x based sound hardware
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pcm/mixer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/mixer.h b/sys/dev/sound/pcm/mixer.h
index 2c8dff7..f4be41f 100644
--- a/sys/dev/sound/pcm/mixer.h
+++ b/sys/dev/sound/pcm/mixer.h
@@ -47,4 +47,4 @@ void *mix_getdevinfo(struct snd_mixer *m);
*/
#define MIXER_SIZE (512 + sizeof(struct kobj))
-#define MIXER_DECLARE(name) DEFINE_CLASS(name, name ## _methods, MIXER_SIZE)
+#define MIXER_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, MIXER_SIZE)
OpenPOWER on IntegriCloud