summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-07-15 20:08:32 +0000
committernetchild <netchild@FreeBSD.org>2006-07-15 20:08:32 +0000
commit96dc69f45bc4a958453a67326eb3a5a34d7431fb (patch)
tree63236a0c22bef74b6f31dc68134adc7f89b506e8 /sys/dev
parent5f00d121ef8158d868ef0c772e02c356e7278d2a (diff)
downloadFreeBSD-src-96dc69f45bc4a958453a67326eb3a5a34d7431fb.zip
FreeBSD-src-96dc69f45bc4a958453a67326eb3a5a34d7431fb.tar.gz
Make the MIDI kobj class static. This brings it inline with the channel or
ac97 classes. This allows to link emu10k1 and emu10kx into the same kernel (LINT).
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sound/pci/cmi.c2
-rw-r--r--sys/dev/sound/pci/emu10k1.c2
-rw-r--r--sys/dev/sound/pci/emu10kx-midi.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/pci/cmi.c b/sys/dev/sound/pci/cmi.c
index b2ddb56..131650d 100644
--- a/sys/dev/sound/pci/cmi.c
+++ b/sys/dev/sound/pci/cmi.c
@@ -805,7 +805,7 @@ static kobj_method_t cmi_mpu_methods[] = {
{ 0, 0 }
};
-DEFINE_CLASS(cmi_mpu, cmi_mpu_methods, 0);
+static DEFINE_CLASS(cmi_mpu, cmi_mpu_methods, 0);
static void
cmi_midiattach(struct sc_info *sc) {
diff --git a/sys/dev/sound/pci/emu10k1.c b/sys/dev/sound/pci/emu10k1.c
index 7b47a02..db009e8 100644
--- a/sys/dev/sound/pci/emu10k1.c
+++ b/sys/dev/sound/pci/emu10k1.c
@@ -1098,7 +1098,7 @@ static kobj_method_t emu_mpu_methods[] = {
{ 0, 0 }
};
-DEFINE_CLASS(emu_mpu, emu_mpu_methods, 0);
+static DEFINE_CLASS(emu_mpu, emu_mpu_methods, 0);
static void
emu_intr2(void *p)
diff --git a/sys/dev/sound/pci/emu10kx-midi.c b/sys/dev/sound/pci/emu10kx-midi.c
index 3717784..a94b98f 100644
--- a/sys/dev/sound/pci/emu10kx-midi.c
+++ b/sys/dev/sound/pci/emu10kx-midi.c
@@ -106,7 +106,7 @@ static kobj_method_t emu_mpu_methods[] = {
KOBJMETHOD(mpufoi_uninit, emu_muninit),
{0, 0}
};
-DEFINE_CLASS(emu_mpu, emu_mpu_methods, 0);
+static DEFINE_CLASS(emu_mpu, emu_mpu_methods, 0);
static uint32_t
emu_midi_card_intr(void *p, uint32_t intr_status)
OpenPOWER on IntegriCloud