mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Adam J. Richter" <adam@yggdrasil.com>
To: kraxel@goldbach.in-berlin.de, linux-kernel@vger.kernel.org,
	torvalds@transmeta.com
Subject: Patch: linux-2.5.2-pre8/drivers/media/video/tvmixer.c kdev_t compilation fix
Date: Sat, 5 Jan 2002 01:22:40 -0800	[thread overview]
Message-ID: <20020105012240.A21698@baldur.yggdrasil.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

	linux-2.5.2-pre8/drivers/media/video/tvmixer.c used
MINOR where it should have used minor.  Here is the fix
(untested aside from seeing that it compiles).

	This is the only compilation fix for the drivers/media
subtree.  That is why I am submitting it by itself.

-- 
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

[-- Attachment #2: tv.diff --]
[-- Type: text/plain, Size: 398 bytes --]

--- linux-2.5.2-pre8/drivers/media/video/tvmixer.c	Wed Oct 17 14:19:20 2001
+++ linux/drivers/media/video/tvmixer.c	Sat Jan  5 01:17:51 2002
@@ -177,7 +177,7 @@
 
 static int tvmixer_open(struct inode *inode, struct file *file)
 {
-        int i, minor = MINOR(inode->i_rdev);
+        int i, minor = minor(inode->i_rdev);
         struct TVMIXER *mix = NULL;
 	struct i2c_client *client = NULL;
 

                 reply	other threads:[~2002-01-05  9:23 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=20020105012240.A21698@baldur.yggdrasil.com \
    --to=adam@yggdrasil.com \
    --cc=kraxel@goldbach.in-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®