Compile Fix for Emu10K1
PATCH 1/1 Compile Fix for Emu10K1
Hi,
The following patch against 2.5.3-pre2 fixes compile errors with the Emu10K1 driver.
drivers/sound/emu10k1/audio.c Sun Jan 20 13:38:26 2002 renamed from drivers/sound/emu10k1/audio.c Tue Oct 9 19:53:17 2001 +1 -1
@@ -1098,7 +1098,7 @@ static int emu10k1_audio_open(struct inode *inode, struct file *file) { - int minor = MINOR(inode->i_rdev); + int minor = minor(inode->i_rdev); struct emu10k1_card *card = NULL; struct list_head *entry; struct emu10k1_wavedevice *wave_dev;
drivers/sound/emu10k1/midi.c Sun Jan 20 13:39:01 2002 renamed from drivers/sound/emu10k1/midi.c Tue Oct 9 19:53:18 2001 +1 -1
@@ -87,7 +87,7 @@ static int emu10k1_midi_open(struct inode *inode, struct file *file) { - int minor = MINOR(inode->i_rdev); + int minor = minor(inode->i_rdev); struct emu10k1_card *card = NULL; struct emu10k1_mididevice *midi_dev; struct list_head *entry;
drivers/sound/emu10k1/mixer.c Sun Jan 20 13:39:22 2002 renamed from drivers/sound/emu10k1/mixer.c Tue Oct 9 19:53:18 2001 +1 -1
@@ -640,7 +640,7 @@ static int emu10k1_mixer_open(struct inode *inode, struct file *file) { - int minor = MINOR(inode->i_rdev); + int minor = minor(inode->i_rdev); struct emu10k1_card *card = NULL; struct list_head *entry;