From d66551806bb6b36ed9a343e50b108fed1d8fd56c Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Sat, 15 Jul 2006 20:11:16 +0000 Subject: [PATCH] Make the mixer kobj class static. This brings it inline with the channel or ac97 classes. Tested with: es137x based sound hardware --- sys/dev/sound/pcm/mixer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pcm/mixer.h b/sys/dev/sound/pcm/mixer.h index 2c8dff753e36..f4be41f0a325 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)