diff options
author | netchild <netchild@FreeBSD.org> | 2006-07-15 20:11:16 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-07-15 20:11:16 +0000 |
commit | d0d12e987a4139ae861ac11340ec26890a8303ea (patch) | |
tree | 7e257ac4a4aaca2f9a916b8b8be09283e793c7a5 /sys/dev/sound | |
parent | 96dc69f45bc4a958453a67326eb3a5a34d7431fb (diff) | |
download | FreeBSD-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.h | 2 |
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) |