All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Udo A. Steinberg" <reality@delusion.de>
To: Linus Torvalds <torvalds@transmeta.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	Rui Sousa <rui.p.m.sousa@clix.pt>
Subject: [PATCH] Compile Fix for Emu10K1
Date: Sun, 20 Jan 2002 14:17:08 +0100	[thread overview]
Message-ID: <3C4AC354.55562D1F@delusion.de> (raw)


Hi,

The following patch against 2.5.3-pre2 fixes compile errors with the Emu10K1 driver.

diff -Naur -X dontdiff linux-2.5.3-vanilla/drivers/sound/emu10k1/audio.c linux-2.5.3/drivers/sound/emu10k1/audio.c
--- linux-2.5.3-vanilla/drivers/sound/emu10k1/audio.c   Tue Oct  9 19:53:17 2001
+++ linux-2.5.3/drivers/sound/emu10k1/audio.c   Sun Jan 20 13:38:26 2002
@@ -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;
diff -Naur -X dontdiff linux-2.5.3-vanilla/drivers/sound/emu10k1/midi.c linux-2.5.3/drivers/sound/emu10k1/midi.c
--- linux-2.5.3-vanilla/drivers/sound/emu10k1/midi.c    Tue Oct  9 19:53:18 2001
+++ linux-2.5.3/drivers/sound/emu10k1/midi.c    Sun Jan 20 13:39:01 2002
@@ -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;
diff -Naur -X dontdiff linux-2.5.3-vanilla/drivers/sound/emu10k1/mixer.c linux-2.5.3/drivers/sound/emu10k1/mixer.c
--- linux-2.5.3-vanilla/drivers/sound/emu10k1/mixer.c   Tue Oct  9 19:53:18 2001
+++ linux-2.5.3/drivers/sound/emu10k1/mixer.c   Sun Jan 20 13:39:22 2002
@@ -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;

                 reply	other threads:[~2002-01-20 13:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C4AC354.55562D1F@delusion.de \
    --to=reality@delusion.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rui.p.m.sousa@clix.pt \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.