2.5.2: emu10k1 fixup
PATCH 1/1 2.5.2: emu10k1 fixup
This is a *small* (avoiding the obvious pun) patch for the emu10k1 driver that changes MINOR() to minor() in the affected files. Apply to the 2.5.2 kernel source tree.
drivers/sound/emu10k1/audio.c renamed from drivers/sound/emu10k1/audio.c.orig +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 renamed from drivers/sound/emu10k1/midi.c.orig +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 renamed from drivers/sound/emu10k1/mixer.c.orig +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;
Signature · 4 lines
----------------------------------------------------------------------- Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org [email protected] -----------------------------------------------------------------------