Explorar o código

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 <rpjday@mindspring.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Robert P. J. Day %!s(int64=18) %!d(string=hai) anos
pai
achega
b3785596e3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/media/video/ivtv/ivtv-fileops.c

+ 1 - 1
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);