Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b3785596e3964656b9901f4eff73bf40b654d425
Commit:     b3785596e3964656b9901f4eff73bf40b654d425
Parent:     53958b35e4f8fa14ebcc098018635b306db2bde1
Author:     Robert P. J. Day <[EMAIL PROTECTED]>
AuthorDate: Wed May 2 09:47:16 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Wed May 9 10:12:38 2007 -0300

    V4L/DVB (5583): VIDEO4LINUX-2: Replace MINOR() with a call to iminor().
    
    Replace the call to MINOR() with a call to the inline iminor()
    routine.
    
    Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>
    Acked-by: Hans Verkuil <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/ivtv/ivtv-fileops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/ivtv/ivtv-fileops.c 
b/drivers/media/video/ivtv/ivtv-fileops.c
index 1637097..8976487 100644
--- a/drivers/media/video/ivtv/ivtv-fileops.c
+++ b/drivers/media/video/ivtv/ivtv-fileops.c
@@ -804,7 +804,7 @@ int ivtv_v4l2_open(struct inode *inode, struct file *filp)
        struct ivtv_open_id *item;
        struct ivtv *itv = NULL;
        struct ivtv_stream *s = NULL;
-       int minor = MINOR(inode->i_rdev);
+       int minor = iminor(inode);
 
        /* Find which card this open was on */
        spin_lock(&ivtv_cards_lock);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to