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).
This commit is contained in:
parent
d056fa046c
commit
75d7240e18
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160384
@ -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) {
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user