]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (5583): VIDEO4LINUX-2: Replace MINOR() with a call to iminor().
authorRobert P. J. Day <rpjday@mindspring.com>
Wed, 2 May 2007 12:47:16 +0000 (09:47 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 9 May 2007 13:12:38 +0000 (10:12 -0300)
Replace the call to MINOR() with a call to the inline iminor()
routine.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-fileops.c

index 1637097ddec742c68ddbf2d17be485855c2b4be8..8976487a65f3c7994481a7657616b9acfaf75952 100644 (file)
@@ -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);